Re: [PATCH 2/4] Tweak diff output further to make it a bit less distracting.
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 17, 2005, 23:32 UTC
- Message-ID
- <Pine.LNX.4.58.0505171630130.18337@ppc970.osdl.org>
- In-Reply-To
- <7vsm0lqym3.fsf@assigned-by-dhcp.cox.net>
On Tue, 17 May 2005, Junio C Hamano wrote:
Show 14 quoted lines
> > Now, in the new diff format, if the rename is really a pure > rename, then we would have: > > diff -git a/nitfol b/nitfol > rename old frotz > rename new nitfol > diff -git a/rezrov b/rezrov > --- a/rezrov > +++ b/rezrov > @@ ... > > that is, nothing until the patch for the next file or EOF. Is > this acceptable?
I think that's exactly what we want. At least it does exactly the right thing for me, when I do '/^diff ' in less, with nice highlighting of the headers.
With people inevitably adding some nice coloration support in gitweb etc, and it will be outstanding.
Linus