summaryrefslogtreecommitdiff
path: root/t/t9828-git-p4-map-user.sh
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2021-09-24 15:39:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-09-28 17:31:02 (GMT)
commit61d450f049eeb61e6cb3c07750e806db29ff0ea3 (patch)
treeac3903983ac107118bcc0fe4b690436bbb6f2731 /t/t9828-git-p4-map-user.sh
parent63b60b3add7527c202124982e0b14a6a512f0450 (diff)
downloadgit-61d450f049eeb61e6cb3c07750e806db29ff0ea3.zip
git-61d450f049eeb61e6cb3c07750e806db29ff0ea3.tar.gz
git-61d450f049eeb61e6cb3c07750e806db29ff0ea3.tar.bz2
add: update --renormalize to skip sparse paths
We added checks for path_in_sparse_checkout() to portions of 'git add' that add warnings and prevent stagins a modification, but we skipped the --renormalize mode. Update renormalize_tracked_files() to ignore cache entries whose path is outside of the sparse-checkout cone (unless --sparse is provided). Add a test in t3705. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9828-git-p4-map-user.sh')
0 files changed, 0 insertions, 0 deletions