Re: BUG? in --dirstat when rearranging lines in a file
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Apr 8, 2011, 15:04 UTC
- Message-ID
- <BANLkTinv3SSYWn==F=ans4uHuHJhTrfjDQ@mail.gmail.com>
- In-Reply-To
- <201104081646.35750.johan@herland.net>
On Fri, Apr 8, 2011 at 7:46 AM, Johan Herland <johan@herland.net> wrote:
Show 6 quoted lines
> > #2: Improve --dirstat-by-file. It doesn't really care about the per-file > analysis done by --dirstat, but only whether or not a file has changed > at all. Since the diff queue does not contain unchanged files (<- this > is an assumption that I hope someone with more diffcore knowledge can > verify),
Hmm.
I think that with renames, the diff queue _can_ contain unchanged files (ie pure renames).
Also, I think -CC (aka --find-copies-harder), _every_ file ends up in the diff queue because that's how it does the detection.
But I didn't actually check, and I may be full of sh*t.
Linus