зеркало из https://github.com/microsoft/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.
This commit is contained in:
Родитель
74b46e32cb
Коммит
5e76011c0d
|
@ -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]);
|
Загрузка…
Ссылка в новой задаче