pre-push hook does not get input on non-fast-forward pushes
- From
- Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
- Date
- Mar 28, 2016, 20:56 UTC
- Message-ID
- <201603282056.u2SKuqDf031459@mail2.student.tuwien.ac.at>
Hi,
I noticed that without an additional --force the pre-push hook does not get any input on stdin if a push would result in non-fast-forward uploads. This is not a problem per se (although I don't get the rationale) but it is undocumented and the latter left me puzzled.
(Please keep me in CC since I am not subscribed, thanks)
-- Kind regards/Mit freundlichen Grüßen, Stefan Tauner