summaryrefslogtreecommitdiff
path: root/Documentation/blame-options.txt
diff options
context:
space:
mode:
authorLibravatar David Turner <dturner@twopensource.com>2015-08-19 20:01:25 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-19 10:40:24 -0700
commit2e5910f27695b1b24e8a6870940bfac2a03ef0d7 (patch)
tree84c5f7ab90fde4b29bbb32f1214bc9e0a9027cc2 /Documentation/blame-options.txt
parentt7063: use --force-untracked-cache to speed up a bit (diff)
downloadtgif-2e5910f27695b1b24e8a6870940bfac2a03ef0d7.tar.xz
untracked-cache: fix subdirectory handling
Previously, some calls lookup_untracked would pass a full path. But lookup_untracked assumes that the portion of the path up to and including to the untracked_cache_dir has been removed. So lookup_untracked would be looking in the untracked_cache for 'foo' for 'foo/bar' (instead of just looking for 'bar'). This would cause untracked cache corruption. Instead, treat_directory learns to track the base length of the parent directory, so that only the last path component is passed to lookup_untracked. Helped-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: David Turner <dturner@twopensource.com> 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/blame-options.txt')
0 files changed, 0 insertions, 0 deletions