"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: tog diff improvements
To:
gameoftrees@openbsd.org
Date:
Mon, 23 Nov 2020 21:49:24 +0100

Download raw body.

Thread
Stefan Sperling:

> > 'tog diff' functionality has not been kept in sync with improvements
> > made to 'got diff' for some time. This makes the following improvements:
> > 
> > Make 'tog diff' accept references and tags as arguments, instead of
> > just object IDs. Display ref/tags names in the diff view's header line
> > instead of always displaying sha1 IDs.
> > 
> > Add -C and -w options with corresponding run-time toggles.
> 
> There was a bug in my patch that caused diffs with zero context lines
> by default. Fixed here.

ok naddy

I was going to say that diffing refs/tags adds little over
"got diff | less", but interactive 'w' looks like a worthwhile
additon and provides a reason why you would want to diff refs/tags
in tog.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de