summaryrefslogtreecommitdiff
path: root/show-diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'show-diff.c')
-rw-r--r--show-diff.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/show-diff.c b/show-diff.c
index d9af29f..55b8576 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]);