]> git.ipfire.org Git - thirdparty/git.git/commit
t4140: test apply --intent-to-add interactions
authorRaymond E. Pasco <ray@ameretat.dev>
Mon, 7 Jul 2025 12:12:32 +0000 (08:12 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2025 13:41:11 +0000 (06:41 -0700)
commita4c969aa0d9c98ed29ea495fa0bae61bfbc713fe
tree233b16acc11f98daa64824cc0a4325f21d552807
parent7c6e61f877fc8eee250f1fa3537434c0ff62ac1f
t4140: test apply --intent-to-add interactions

Test that applying a new file creation patch with --intent-to-add to
an existing index does not modify the index outside adding the correct
intents-to-add, and that applying a patch with both modifications
and new file creations with --intent-to-add correctly only adds
intents-to-add to the index.

Signed-off-by: Raymond E. Pasco <ray@ameretat.dev>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4140-apply-ita.sh