git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hook for rebase --continue
@ 2011-11-07 19:42 Matt Graham
  2011-11-07 19:46 ` Martin Fick
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Matt Graham @ 2011-11-07 19:42 UTC (permalink / raw)
  To: git

Hi,
I did some testing and it appears that during a rebase, if I resolve a
conflict and call git rebase --continue, the pre-commit hook doesn't
run.  This means that if I don't resolve the conflict correctly, our
check for invalid syntax doesn't get run and creates the risk that
someone could push code with invalid syntax, not realizing that the
check didn't run.

Does anyone else share my expectation that the pre-commit hook should
run during a rebase? Or at least for the first commit following a
rebase conflict?

If not, is there another hook that is triggered by a rebase that I
should be using instead?

Thanks,
Matt

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-15 23:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-07 19:42 hook for rebase --continue Matt Graham
2011-11-07 19:46 ` Martin Fick
2011-11-10  0:47 ` Neal Kreitzinger
2011-11-10  0:50   ` Neal Kreitzinger
2011-11-15 23:28 ` Neal Kreitzinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).