git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Help understanding unexpected diff output
@ 2020-07-13 10:34 Ulrich Windl
  2020-07-13 15:12 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Ulrich Windl @ 2020-07-13 10:34 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

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






[-- Attachment #2: diff-git.PNG --]
[-- Type: image/png, Size: 70291 bytes --]

[-- Attachment #3: diff-emacs.PNG --]
[-- Type: image/png, Size: 27142 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-23 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13 10:34 Help understanding unexpected diff output Ulrich Windl
2020-07-13 15:12 ` Junio C Hamano
2020-07-14  8:52   ` Antw: [EXT] " Ulrich Windl
2020-07-14 18:53     ` Junio C Hamano
2020-10-23 14:24     ` Philip Oakley

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).