summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-08 20:36:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-08 20:36:30 (GMT)
commitcdda65acae0b05a197c9f6684d517a5c4325c08f (patch)
treeba63e5f6b303dea133610ef3ddb0199e099fdfc8 /t
parent74735c9ca7f1026eb62346510c5bb2aad7f78e04 (diff)
parent026336cb277693c5a8cdfa4705a26daf0a754328 (diff)
downloadgit-cdda65acae0b05a197c9f6684d517a5c4325c08f.zip
git-cdda65acae0b05a197c9f6684d517a5c4325c08f.tar.gz
git-cdda65acae0b05a197c9f6684d517a5c4325c08f.tar.bz2
Merge branch 'bp/untracked-cache-noflush'
Writing out the index file when the only thing that changed in it is the untracked cache information is often wasteful, and this has been optimized out. * bp/untracked-cache-noflush: untracked cache: use git_env_bool() not getenv() for customization dir.c: don't flag the index as dirty for changes to the untracked cache
Diffstat (limited to 't')
-rwxr-xr-xt/t7063-status-untracked-cache.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t7063-status-untracked-cache.sh b/t/t7063-status-untracked-cache.sh
index 46b9478..c61e304 100755
--- a/t/t7063-status-untracked-cache.sh
+++ b/t/t7063-status-untracked-cache.sh
@@ -14,6 +14,9 @@ test_description='test untracked cache'
# See <20160803174522.5571-1-pclouds@gmail.com> if you want to know
# more.
+GIT_FORCE_UNTRACKED_CACHE=true
+export GIT_FORCE_UNTRACKED_CACHE
+
sync_mtime () {
find . -type d -ls >/dev/null
}