From: Johan Herland Date: Tue, 12 Apr 2011 09:24:34 +0000 (+0200) Subject: --dirstat: In case of renames, use target filename instead of source filename X-Git-Tag: v1.7.5.1~1^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/2ca86714703f81f9dd5dfb31f8d97a8a0089634d?ds=inline;hp=2ca86714703f81f9dd5dfb31f8d97a8a0089634d --dirstat: In case of renames, use target filename instead of source filename 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 Acked-by: Linus Torvalds Signed-off-by: Junio C Hamano ---