]> git.99rst.org Git - git.git/commit
t7400: test failure to add submodule in tracked path
authorAtharva Raykar <redacted>
Tue, 6 Jul 2021 18:19:34 +0000 (23:49 +0530)
committerJunio C Hamano <redacted>
Wed, 7 Jul 2021 18:00:01 +0000 (11:00 -0700)
commit84069fcc140480fb76dc204ebce7819c2c87ec7c
tree815a8ab832fe865ebda90a2a7e5f00e88f08a757
parentebf3c04b262aa27fbb97f8a0156c2347fecafafb
t7400: test failure to add submodule in tracked path

Add a test to ensure failure on adding a submodule to a directory with
tracked contents in the index.

As we are going to refactor and port to C some parts of `git submodule
add`, let's add a test to help ensure no regression is introduced.

Signed-off-by: Atharva Raykar <redacted>
Mentored-by: Christian Couder <redacted>
Based-on-patch-by: Shourya Shukla <redacted>
Mentored-by: Shourya Shukla <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7400-submodule-basic.sh
git clone https://git.99rst.org/PROJECT