Re: [PATCH] Add --show-touched option to show "diff --git" line when contents are unchanged
- From
David Kastrup <dak@gnu.org>
- Date
- Aug 8, 2007, 09:13 UTC
- Message-ID
- <86abt25qyw.fsf@lola.quinscape.zz>
- In-Reply-To
- <7v3ayu5scj.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <gitster@pobox.com> writes:
Show 11 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > >> So I have the slight suspicion that all this will accomplish is "shut the >> darn thing up", and old-timers will have a harder time, since they no >> longer spot easily when they did a Dumb Thing and left the index out of >> sync. > > The hardest hit would be old-timers who try to be friendly by > trying to help new people, who has much less chance to notice > and report these much less prominent warnings, over e-mail or > irc.
"Dude, you got a stale index hanging out of your trousers."
I find it ridiculous to parade local problems in patches sent out to the world rather than fixing them, so that old-timers have a chance to get karma points.
Really: if stale indexes are considered a problem, git should silently mark the staleness in the file, and the next time (or after three more times or whatever) the index is used, it is silently regenerated.
Old-timers can get an option disabling this so that they can proud themselves on cleaning up after themselves consciously, but for the normal user, this is a bother he can do without.
-- David Kastrup