From: Lars Hjemli Date: Wed, 17 Oct 2007 13:30:21 GMT Subject: Re: git update index question Message-ID: <8c5c35580710170630y6ab3a6aehcbbcf9b7feb1bb6d@mail.gmail.com> In-Reply-To: <47160706.2000706@filmaura.com> On 10/17/07, Gonzalo Garramuno 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