--dirstat: In case of renames, use target filename instead of source filename
authorJohan Herland <johan@herland.net>
Tue, 12 Apr 2011 09:24:34 +0000 (11:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Apr 2011 18:29:34 +0000 (11:29 -0700)
This changes --dirstat analysis to count "damage" toward the target filename,
rather than the source filename. For renames within a directory, this won't
matter to the final output, but when moving files between diretories, the
output now lists the target directory rather than the source directory.

Signed-off-by: Johan Herland <johan@herland.net>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found