git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Apr 13, 2007, 07:01 UTC
Message-ID
<46a038f90704130001u4161f309k7bb98bb4801ef04a@mail.gmail.com>
In-Reply-To
<7v3b34hjdh.fsf@assigned-by-dhcp.cox.net>
On 4/13/07, Junio C Hamano <junkio@cox.net> wrote:
Show 11 quoted lines
> "Martin Langhoff" <martin.langhoff@gmail.com> writes:
>
> > On 4/13/07, Paul Mackerras <paulus@samba.org> wrote:
> >> 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
Previous: Junio C HamanoNext: Johannes Schindelin
Message 8 of 16 in “[RFD] Strange patch formats (aka tricks with unified diffs)..”
  1. Linus TorvaldsApr 12, 2007
  2. Junio C HamanoApr 12, 2007
  3. Marco CostalbaApr 13, 2007
  4. Marco CostalbaApr 17, 2007
  5. Paul MackerrasApr 13, 2007
  6. Martin LanghoffApr 13, 2007
  7. Junio C HamanoApr 13, 2007
  8. Martin LanghoffApr 13, 2007
  9. Johannes SchindelinApr 14, 2007
  10. Junio C HamanoApr 14, 2007
  11. Jeff KingApr 14, 2007
  12. Linus TorvaldsApr 13, 2007
  13. Paul MackerrasApr 18, 2007
  14. Linus TorvaldsApr 18, 2007
  15. Matthias LederhoferApr 13, 2007
  16. Linus TorvaldsApr 13, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.