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

Help understanding unexpected diff output

From
UWUlrich Windl <ulrich.windl@rz.uni-regensburg.de>
Date
Jul 13, 2020, 10:34 UTC
Message-ID
<5F0C38BB020000A100039FF0@gwsmtp.uni-regensburg.de>
Hi!
I hope we all agree that diff should make our lives easier, so here is something where I think it does not apply:

I inspected some changes using "git diff", and it was hard to me to find the actual differences (see git-diff-png): I had to look a long time at those olcAccess lines to find any difference, so finally I pasted both blocks into separate Emacs files a and b (via PuTTY) and used "ediff-files" (see diff-emacs.png). Within there, the was only a part of one line changed!

I don't understand this. I had even used "git diff -w" to ignore space changes (which aren't expected anyway).
Any ideas what might be wrong and how to get better diff output?
(git-2.26.2-27.36.1.x86_64 of SLES12 being used)

Regards, Ulrich

Next: Junio C Hamano
Message 1 of 5 in “Help understanding unexpected diff output”
  1. Ulrich WindlJul 13, 2020
  2. Junio C HamanoJul 13, 2020
  3. Antw: [EXT] Re: Help understanding unexpected diff outputUlrich Windl, Jul 14, 2020
  4. Junio C HamanoJul 14, 2020
  5. Philip OakleyOct 23, 2020

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.