summaryrefslogtreecommitdiff
path: root/Documentation/technical/api-submodule-config.txt
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-09-15 19:56:04 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-17 09:38:50 -0700
commitae9af12287b2c37512f12c137173dde7ea5192a0 (patch)
treec4177e26c27cfd9d282ea4879adb2ced55e0af99 /Documentation/technical/api-submodule-config.txt
parentGit 2.19 (diff)
downloadtgif-ae9af12287b2c37512f12c137173dde7ea5192a0.tar.xz
status: show progress bar if refreshing the index takes too long
Refreshing the index is usually very fast, but it can still take a long time sometimes. Cold cache is one. Or copying a repo to a new place (*). It's good to show something to let the user know "git status" is not hanging, it's just busy doing something. (*) In this case, all stat info in the index becomes invalid and git falls back to rehashing all file content to see if there's any difference between updating stat info in the index. This is quite expensive. Even with a repo as small as git.git, it takes 3 seconds. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/api-submodule-config.txt')
0 files changed, 0 insertions, 0 deletions