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

Re: git update index question

From: Lars Hjemli <hidden>
Date: 2016-06-15 22:43:42

On 10/17/07, Gonzalo Garramuno [off-list ref] wrote:
I had incorrectly done a chmod a+x on the pre-commit hook when all my
previous commits had not been using it, so I think the pre-commit was
actually catching not my new fix but what was already in the repository.
That sounds wrong: the (default) pre-commit hook only verifies the
_new_ content, not the content in HEAD.  Is there any chance your
.git/hooks/pre-commit script has been tampered with?

--
larsh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help