git/list[1] front-page[2] threads[3] people[4] search[5] about
 

pre-push hook does not get input on non-fast-forward pushes

From
STStefan 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
Next: Junio C Hamano
Message 1 of 4 in “pre-push hook does not get input on non-fast-forward pushes”
  1. Stefan TaunerMar 28, 2016
  2. Junio C HamanoMar 28, 2016
  3. Stefan BellerMar 28, 2016
  4. Stefan TaunerMar 28, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.