summaryrefslogtreecommitdiff
path: root/t/t7508-status.sh
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-03-13 19:59:16 +0700
committerJunio C Hamano <gitster@pobox.com>2013-03-16 21:44:58 -0700
commit6a38ef2ced55f0a8a7967581934e40f79e1d8733 (patch)
treeff6faf20d9fdab3d77c864527f13137051ad45ed /t/t7508-status.sh
parent5823eb2b28696bf0eb25f6ca35b303447869f85c (diff)
downloadgit-6a38ef2ced55f0a8a7967581934e40f79e1d8733.tar.gz
status: advise to consider use of -u when read_directory takes too long
Introduce advice.statusUoption to suggest considering use of -u to strike different trade-off when it took more than 2 seconds to enumerate untracked/ignored files. 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 't/t7508-status.sh')
-rwxr-xr-xt/t7508-status.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t7508-status.sh b/t/t7508-status.sh
index e313ef196e..15e063a0fa 100755
--- a/t/t7508-status.sh
+++ b/t/t7508-status.sh
@@ -8,6 +8,7 @@ test_description='git status'
. ./test-lib.sh
test_expect_success 'status -h in broken repository' '
+ git config --global advice.statusuoption false &&
mkdir broken &&
test_when_finished "rm -fr broken" &&
(