From: Jeff King Date: Fri, 31 Jul 2020 17:41:49 GMT Subject: Re: Diff --stat for files that differ only in whitespace Message-ID: <20200731174149.GB843002@coredump.intra.peff.net> In-Reply-To: On Fri, Jul 31, 2020 at 09:10:44AM -0400, Matt Rogers wrote: > When using a repository with "core.autocrlf=false" I'm trying to run a diff > between two commits that have many files (~1000) changed that differ mostly > in line endings or other whitespace. When I run > `git diff --stat --ignore-all-space ` I'm getting an output > that has many files listed like: > > some-file.txt | 0 This seemed familiar, so I dug up some prior discussion here: https://lore.kernel.org/git/1484704915.2096.16.camel@mattmccutchen.net/ We didn't come to a resolution there, but there is a patch to play with, and I think nobody was opposed to the notion that with the right code change we could be suppressing these whitespace-only stat lines -Peff