Re: [RFD] Strange patch formats (aka tricks with unified diffs)..

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: [RFD] Strange patch formats (aka tricks with unified diffs)..

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:04

"Martin Langhoff" [off-list ref] writes:
On 4/13/07, Paul Mackerras [off-list ref] wrote:
quoted
Side-by-side would be more challenging.
<wish>If someone gets started on side-by-side, I'd love to have
char-level diff colouring,...
icecream too.</wish>
Is it different from the --color-words (whose implementation I
happen to hate)?

Re: [RFD] Strange patch formats (aka tricks with unified diffs)..

From: Martin Langhoff <hidden>
Date: 2016-06-15 22:43:04

On 4/13/07, Junio C Hamano [off-list ref] wrote:
"Martin Langhoff" [off-list ref] writes:
quoted
On 4/13/07, Paul Mackerras [off-list ref] wrote:
quoted
Side-by-side would be more challenging.
<wish>If someone gets started on side-by-side, I'd love to have
char-level diff colouring,...
icecream too.</wish>
Is it different from the --color-words (whose implementation I
happen to hate)?
Didn't know about --color-words (goes away, tests...) no, nothing like
that. I don't like --color-words.

To see what I mean, try

   git-show v1.4.4:git-cvsserver.perl  > file1
   git-show v1.5.1:git-cvsserver.perl  > file2
   xxdiff file1 file2

Just press 'n' twice to get to the 2nd "hunk" and you'll see what I
mean. Next is 'n', previous is 'p'. It's useful to visualise subtle
differences, and to spot commonalities in large changes.

Some aspects of xxdiff UI are horrid but this feature... is great.
Probably tries a scan for commonalities from the start and end of the
line. And then perhaps from the middle or from each beginning of alpha
char sequence.

cheers,


m

Re: [RFD] Strange patch formats (aka tricks with unified diffs)..

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:04

Hi,

On Thu, 12 Apr 2007, Junio C Hamano wrote:
[...] the --color-words (whose implementation I happen to hate) [...]
I know that we talked about it previously. And strictly, I think it is not 
the implementation that you hate, but the rules that were implemented.

I'll have a look at what you wrote back then, and try to come up with some 
sensible alternatives, so you don't have to hate the code so much.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help