summaryrefslogtreecommitdiff
path: root/t/t5601-clone.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2015-03-08 17:12:27 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-12 13:45:15 -0700
commit5ebf79ad4b308c678bd9623dd906c01bb0ab7e0f (patch)
tree89402f5f857bf8b3a04d06f2b5bd76ed412584ef /t/t5601-clone.sh
parentuntracked cache: initial untracked cache validation (diff)
downloadtgif-5ebf79ad4b308c678bd9623dd906c01bb0ab7e0f.tar.xz
untracked cache: invalidate dirs recursively if .gitignore changes
It's easy to see that if an existing .gitignore changes, its SHA-1 would be different and invalidate_gitignore() is called. If .gitignore is removed, add_excludes() will treat it like an empty .gitignore, which again should invalidate the cached directory data. if .gitignore is added, lookup_untracked() already fills initial .gitignore SHA-1 as "empty file", so again invalidate_gitignore() is called. 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/t5601-clone.sh')
0 files changed, 0 insertions, 0 deletions