From: "Lars Hjemli" <hjemli@gmail.com>
To: "Gonzalo Garramuno" <gga@filmaura.com>
Cc: git@vger.kernel.org
Subject: Re: git update index question
Date: Wed, 17 Oct 2007 15:30:21 +0200 [thread overview]
Message-ID: <8c5c35580710170630y6ab3a6aehcbbcf9b7feb1bb6d@mail.gmail.com> (raw)
In-Reply-To: <47160706.2000706@filmaura.com>
On 10/17/07, Gonzalo Garramuno <gga@filmaura.com> 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
prev parent reply other threads:[~2007-10-17 13:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 10:23 git update index question Gonzalo Garramuno
2007-10-17 12:49 ` Lars Hjemli
2007-10-17 12:58 ` Gonzalo Garramuno
2007-10-17 13:30 ` Lars Hjemli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8c5c35580710170630y6ab3a6aehcbbcf9b7feb1bb6d@mail.gmail.com \
--to=hjemli@gmail.com \
--cc=gga@filmaura.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).