author | Michael J Gruber <git@drmicha.warpmail.net> | |
Fri, 27 May 2011 12:36:40 +0000 (14:36 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 27 May 2011 17:44:02 +0000 (10:44 -0700) | ||
commit | 358e460eebd3c19f228f02461b5f161ea48b0a98 | |
tree | 228b757cce143536603c4660aa04a5e4ae6b528a | tree | snapshot |
parent | 0b9deecf625677cf44058a42c2abd7add5167e81 | commit | diff |
diff.c: omit hidden entries from namelen calculation with --stat
Currently, --stat calculates the longest name from all items but then
drops some (mode changes) from the output later on.
Instead, drop them from the namelen generation and calculation.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Currently, --stat calculates the longest name from all items but then
drops some (mode changes) from the output later on.
Instead, drop them from the namelen generation and calculation.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c | diff | blob | history |