summaryrefslogtreecommitdiff
path: root/t/t9902-completion.sh
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2016-01-24 16:28:17 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-25 12:39:34 -0800
commit6d19db1491f1f48c5112f460e1f2d2e359e113c9 (patch)
tree1ed08cbf40630b39e9322fe0a5196a27fc7e1ebd /t/t9902-completion.sh
parentupdate-index: add --test-untracked-cache (diff)
downloadtgif-6d19db1491f1f48c5112f460e1f2d2e359e113c9.tar.xz
update-index: add untracked cache notifications
Attempting to flip the untracked-cache feature on for a random index file with cd /random/unrelated/place git --git-dir=/somewhere/else/.git update-index --untracked-cache would not work as you might expect. Because flipping the feature on in the index also records the location of the corresponding working tree (/random/unrelated/place in the above example), when the index is subsequently used to keep track of files in the working tree in /somewhere/else, the feature is disabled. With this patch "git update-index --[test-]untracked-cache" tells the user in which directory tests are performed. This makes it easy to spot any problem. Also in verbose mode, let's tell the user when the cache is enabled or disabled. Helped-by: Duy Nguyen <pclouds@gmail.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9902-completion.sh')
0 files changed, 0 insertions, 0 deletions