From: Johannes Schindelin Date: Fri, 03 Aug 2007 10:23:21 GMT Subject: Re: [PATCH] Add --show-touched option to show "diff --git" line when contents are unchanged Message-ID: In-Reply-To: <7v3az1qgdg.fsf@assigned-by-dhcp.cox.net> Hi, On Thu, 2 Aug 2007, Junio C Hamano wrote: > Steven Grimm 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