Re: is it kosher for pre-commit to change what's staged?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 11, 2010, 22:03 UTC
- Message-ID
- <7vlj4zfrgt.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20101111204626.GA13937@gnu.kitenet.net>
Joey Hess <joey@kitenet.net> writes:
Show 6 quoted lines
> ... The > pre-commit script there stores some metadata about files that git > usually doesn't track, by putting it in a dotfile, and stages that > dotfile for commit. Which currently works fine, except for the minor > problem that the user doesn't see the dotfile listed in the commit > message.
I am hearing "list of files in the commit message", and am getting confused. As far as I know we don't store such a list in the commit message.
Puzzled.