Commit 358e460
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>1 parent 0b9deec commit 358e460
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1278 | 1278 | | |
1279 | 1279 | | |
1280 | 1280 | | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
1281 | 1285 | | |
1282 | 1286 | | |
1283 | 1287 | | |
| |||
1309 | 1313 | | |
1310 | 1314 | | |
1311 | 1315 | | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
1312 | 1321 | | |
1313 | 1322 | | |
1314 | 1323 | | |
| |||
1343 | 1352 | | |
1344 | 1353 | | |
1345 | 1354 | | |
1346 | | - | |
1347 | | - | |
1348 | | - | |
1349 | | - | |
1350 | | - | |
1351 | 1355 | | |
1352 | 1356 | | |
1353 | 1357 | | |
| |||
0 commit comments