]> git.ipfire.org Git - thirdparty/git.git/commit
tests: fix existing tests when add an ignore=all submodule
authorClaus Schneider(Eficode) <claus.schneider@eficode.com>
Wed, 14 Jan 2026 07:47:58 +0000 (07:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Jan 2026 14:34:52 +0000 (06:34 -0800)
commitae8ba0e7616d8d583b2f20cb79b0fda77f3aa553
tree98cb88b47893b3409f703d1240c246f456a6af4f
parentef72d4fcd333dcde1aa468bb1d2250858ba53580
tests: fix existing tests when add an ignore=all submodule

There are tests that rely on "git add <submodule>" to update the in the
reference in the parent repository which have been updated to use the
--force option.

Updated tests:
- t1013-read-tree-submodule.sh ( fixed in: t/lib-submodule-update.sh )
- t2013-checkout-submodule.sh ( fixed in: t/lib-submodule-update.sh )
- t7406-submodule-update.sh
- t7508-status.sh

Signed-off-by: Claus Schneider (Eficode) <claus.schneider@eficode.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-submodule-update.sh
t/t7508-status.sh