]> git.ipfire.org Git - thirdparty/git.git/commit
t1092: behavior for adding sparse files
authorDerrick Stolee <dstolee@microsoft.com>
Fri, 24 Sep 2021 15:39:03 +0000 (15:39 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Sep 2021 17:31:02 +0000 (10:31 -0700)
commitedd2cd345f8e916c6fc70fa3dafd14dcf1694991
tree62012af900edefd5601dedf361e29eb62e77564b
parentca267aee15c79376ba861bfa47a3b2ad18e74d02
t1092: behavior for adding sparse files

Add some tests to demonstrate the current behavior around adding files
outside of the sparse-checkout cone. Currently, untracked files are
handled differently from tracked files. A future change will make these
cases be handled the same way.

Further expand checking that a failed 'git add' does not stage changes
to the index.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1092-sparse-checkout-compatibility.sh