diff.c: omit hidden entries from namelen calculation with --stat
commitb47e2f0865bac1ad0e7b777ce9f27493292c502c
authorMichael J Gruber <git@drmicha.warpmail.net>
Fri, 27 May 2011 11:18:25 +0000 (27 13:18 +0200)
committerMichael J Gruber <git@drmicha.warpmail.net>
Fri, 27 May 2011 11:25:26 +0000 (27 13:25 +0200)
tree15b1b8f91ed450ad13acb269e5db496fb14267dc
parent6ba2fd09ea5c16dc67d4dcfacd08418cb3c1a06f
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>
diff.c