diff options
Diffstat (limited to 'show-diff.c')
-rw-r--r-- | show-diff.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/show-diff.c b/show-diff.c index d9af29fd87..55b8576805 100644 --- a/show-diff.c +++ b/show-diff.c @@ -39,10 +39,8 @@ int main(int argc, char **argv) continue; } changed = cache_match_stat(ce, &st); - if (!changed) { - printf("%s: ok\n", ce->name); + if (!changed) continue; - } printf("%.*s: ", ce->namelen, ce->name); for (n = 0; n < 20; n++) printf("%02x", ce->sha1[n]); |