git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* diff: should warn about EOL when --no-index ?
@ 2025-12-03 16:26 Kristoffer Haugsbakk
  2025-12-03 19:54 ` Torsten Bögershausen
  2025-12-03 22:06 ` Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: Kristoffer Haugsbakk @ 2025-12-03 16:26 UTC (permalink / raw)
  To: git

When using `git diff --no-index` on some CRLF files with my setup 
and config:

    warning: in the working copy of '<something>.csv', CRLF will be replaced by LF the next time Git touches it

To my mind, I’m saying that I don’t care about the working tree per
se. In particular, in this case, I’m just using git-diff(1) as a
difference utility on some non-Git files (this happens to be outside a
Git repository).

-- 
Kristoffer Haugsbakk

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

end of thread, other threads:[~2025-12-04  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-03 16:26 diff: should warn about EOL when --no-index ? Kristoffer Haugsbakk
2025-12-03 19:54 ` Torsten Bögershausen
2025-12-04  8:24   ` Kristoffer Haugsbakk
2025-12-03 22:06 ` Junio C Hamano

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 NNTP newsgroup(s).