From: Linus Torvalds Date: Tue, 12 Apr 2005 09:01:12 +0000 (-0700) Subject: Remove the annoying "ok" printout from show-diff. X-Git-Tag: v0.99~906 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5e76011c0dd9e3f7f6eb766e8c28dd8fcd4adcf9;p=git.git Remove the annoying "ok" printout from show-diff. It used to be useful before I wrote "show-files", so that show-diff would also tell what the cached files were. Now it's just annoying. --- diff --git a/show-diff.c b/show-diff.c index d9af29fd8..55b857680 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]);