Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: Issue when changing staged files in a pre-commit hook

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:07:49

Duy Nguyen [off-list ref] writes:
I think it's the intended behavior.
Yeah, pre-commit was designed for inspecting and rejecting, not for
tweaking and munging.  Perhaps "git commit" can be tightened to make
sure that pre-commit that returns successfully did not muck with the
working tree and the index?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help