diff options
Diffstat (limited to 'show-diff.c')
-rw-r--r-- | show-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/show-diff.c b/show-diff.c index 1286dd1217..a15e9b4cf0 100644 --- a/show-diff.c +++ b/show-diff.c @@ -90,7 +90,7 @@ int main(int argc, char **argv) changed = cache_match_stat(ce, &st); if (!changed) continue; - printf("%.*s: ", ce->namelen, ce->name); + printf("%.*s: ", ce_namelen(ce), ce->name); for (n = 0; n < 20; n++) printf("%02x", ce->sha1[n]); printf("\n"); |