projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74b46e3
)
Remove the annoying "ok" printout from show-diff.
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 12 Apr 2005 09:01:12 +0000
(
02:01
-0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 12 Apr 2005 09:01:12 +0000
(
02:01
-0700)
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.
show-diff.c
patch
|
blob
|
history
diff --git
a/show-diff.c
b/show-diff.c
index d9af29fd876612855dfe659f6bb270804118edef..55b85768058ff36db3355979b55576741ec900fb 100644
(file)
--- 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]);