]> git.ipfire.org Git - thirdparty/git.git/commit
t1092: update a write-tree test
authorShuqi Liang <cheskaqiqi@gmail.com>
Mon, 8 May 2023 20:21:40 +0000 (16:21 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2023 21:41:30 +0000 (14:41 -0700)
commit6e210175c786247722bafca4103508421fa7dd30
tree6378123ed78a62943f5623097d4d09f75e672534
parent7580f92ffa970b9484ac214f7b53cec5e26ca4bc
t1092: update a write-tree test

* 'on all' in the title of the test 'write-tree on all' was unclear;
remove it.

* Add a baseline 'test_all_match git write-tree' before making any
changes to the index, providing a reference point for the 'write-tree'
prior to any modifications.

* Add a comparison of the output of 'git status --porcelain=v2' to test
the working tree after 'write-tree' exits.

* Ensure SKIP_WORKTREE files weren't materialized on disk by using
"test_path_is_missing".

Signed-off-by: Shuqi Liang <cheskaqiqi@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1092-sparse-checkout-compatibility.sh