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.
This commit is contained in:
Linus Torvalds 2005-04-12 02:01:12 -07:00
Родитель 74b46e32cb
Коммит 5e76011c0d
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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]);