author | Johan Herland <johan@herland.net> | |
Tue, 12 Apr 2011 09:24:34 +0000 (11:24 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Apr 2011 18:29:34 +0000 (11:29 -0700) | ||
commit | 2ca86714703f81f9dd5dfb31f8d97a8a0089634d | |
tree | 03e96bbf2b7fafaa57b6ff9dad2346b518a26fca | tree | snapshot |
parent | 2ff3a80334115797b8446909655e536f43900bc5 | commit | diff |
--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 <johan@herland.net>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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>
diff.c | diff | blob | history |