summaryrefslogtreecommitdiff
path: root/delta.h
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-09-24 15:39:02 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-24 11:43:56 -0700
commitca267aee15c79376ba861bfa47a3b2ad18e74d02 (patch)
tree3963ff254b4a221ef14935eda01c2d2b5939c447 /delta.h
parentsparse-index: integrate with cherry-pick and rebase (diff)
downloadtgif-ca267aee15c79376ba861bfa47a3b2ad18e74d02.tar.xz
t3705: test that 'sparse_entry' is unstaged
The tests in t3705-add-sparse-checkout.sh check to see how 'git add' behaves with paths outside the sparse-checkout definition. These currently check to see if a given warning is present but not that the index is not updated with the sparse entries. Add a new 'test_sparse_entry_unstaged' helper to be sure 'git add' is behaving correctly. We need to modify setup_sparse_entry to actually commit the sparse_entry file so it exists at HEAD and as an entry in the index, but its exact contents are not staged in the index. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'delta.h')
0 files changed, 0 insertions, 0 deletions