diff options
author | Atharva Raykar <raykar.ath@gmail.com> | 2021-07-06 21:19:34 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-07 21:00:01 +0300 |
commit | 84069fcc140480fb76dc204ebce7819c2c87ec7c (patch) | |
tree | 815a8ab832fe865ebda90a2a7e5f00e88f08a757 /git-submodule.sh | |
parent | ebf3c04b262aa27fbb97f8a0156c2347fecafafb (diff) |
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 <raykar.ath@gmail.com>
Mentored-by: Christian Couder <christian.couder@gmail.com>
Based-on-patch-by: Shourya Shukla <periperidip@gmail.com>
Mentored-by: Shourya Shukla <periperidip@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-submodule.sh')
0 files changed, 0 insertions, 0 deletions