Re: Fix "git commit directory/" performance anomaly
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 10, 2007, 18:31 UTC
- Message-ID
- <7vsl6rs0l5.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <alpine.LFD.0.999.0708100924570.30176@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
> This trivial patch avoids re-hashing files that are already clean in the > index. This mirrors what commit 0781b8a9b2fe760fc4ed519a3a26e4b9bd6ccffe > did for "git add .", only for "git commit ." instead.
Makes sense. Thanks.