]> git.ipfire.org Git - thirdparty/git.git/commit
t1092: test interesting sparse-checkout scenarios
authorDerrick Stolee <dstolee@microsoft.com>
Sat, 23 Jan 2021 19:58:19 +0000 (19:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 Jan 2021 01:14:20 +0000 (17:14 -0800)
commit19a0acc83e4692dc19a5c7f676b79793fd4dcad7
tree30293a78b6902b35645cfd2192cd1119ea0f9e86
parent3b14436364f0a68167723541bef1a625c5c6f163
t1092: test interesting sparse-checkout scenarios

These also document some behaviors that differ from a full checkout, and
possibly in a way that is not intended.

The test is designed to be run with "--run=1,X" where 'X' is an
interesting test case. Each test uses 'init_repos' to reset the full and
sparse copies of the initial-repo that is created by the first test
case. This also makes it possible to have test cases leave the working
directory or index in unusual states without disturbing later cases.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1092-sparse-checkout-compatibility.sh [new file with mode: 0755]