diff options
author | Ben Peart <benpeart@microsoft.com> | 2018-10-23 15:04:23 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-24 11:57:08 +0900 |
commit | 649bf3a42f344e71b1b5a7f562576f911a1f7423 (patch) | |
tree | c5559a7735da4ad4c8562dbf6234c891929bdfa8 /builtin/fetch-pack.c | |
parent | reset: add new reset.quiet config setting (diff) | |
download | tgif-649bf3a42f344e71b1b5a7f562576f911a1f7423.tar.xz |
reset: warn when refresh_index() takes more than 2 seconds
refresh_index() is done after a reset command as an optimization. Because
it can be an expensive call, warn the user if it takes more than 2 seconds
and tell them how to avoid it using the --quiet command line option or
reset.quiet config setting.
Signed-off-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fetch-pack.c')
0 files changed, 0 insertions, 0 deletions