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

Re: BUG. git rebase -i successfully continues (and also skips rewording) when pre-commit hook fails (exits with non-zero code)

From
Andrew Wong <andrew.kw.w@gmail.com>
Date
Nov 28, 2011, 16:15 UTC
Message-ID
<1322496952-23819-1-git-send-email-andrew.kw.w@gmail.com>
In-Reply-To
<20111117125847.190e9b25@ashu.dyn.rarus.ru>
I actually have a patch to fix this sitting in my repo for a while. Thanks for bringing this issue up again.
Andrew Wong (1):
  rebase -i: interrupt rebase when "commit --amend" failed during
    "reword"
 git-rebase--interactive.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
-- 
1.7.8.rc3.32.gb2fac
Previous: Alexey ShumkinNext: Andrew Wong
Message 2 of 6 in “BUG. git rebase -i successfully continues (and also skips rewording) when pre-commit hook fails (exits with non-zero code)”
  1. Alexey ShumkinNov 17, 2011
  2. Andrew WongNov 28, 2011
  3. rebase -i: interrupt rebase when "commit --amend" failed during "reword"Andrew Wong, Nov 28, 2011
  4. Junio C HamanoNov 29, 2011
  5. Andrew WongNov 30, 2011
  6. rebase -i: interrupt rebase when "commit --amend" failed during "reword"Andrew Wong, Nov 30, 2011

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.