Re: [PATCH] Add --show-touched option to show "diff --git" line when contents are unchanged
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 3, 2007, 10:23 UTC
- Message-ID
- <Pine.LNX.4.64.0708031121000.14781@racer.site>
- In-Reply-To
- <7v3az1qgdg.fsf@assigned-by-dhcp.cox.net>
Hi,
On Thu, 2 Aug 2007, Junio C Hamano wrote:
Show 9 quoted lines
> Steven Grimm <koreth@midwinter.com> writes: > > > Okay, enough arguing about whether the empty diff lines are > > useful or not -- here's a patch to get rid of them. > > I do not think this addresses anything but -p (i.e. textual > diff) output. If we _were_ to really do this, I think the patch > I sent earlier today, with possible improvements I suggested, > would be a better direction to go.
But I'd really think that what should be done (if anything has to be done at all) is to introduce a config variable which triggers the same logic in git-diff as was introduced in 2b5f9a8c0cff511f2bb0833b1ee02645b79323f4.
Ciao, Dscho