]> Kevux Git Server - rit/commit
tests: fix existing tests when add an ignore=all submodule
authorClaus Schneider(Eficode) <claus.schneider@eficode.com>
Fri, 6 Feb 2026 13:22:59 +0000 (13:22 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Feb 2026 17:43:26 +0000 (09:43 -0800)
commit902013225cb7120c59b6ef8771db5c266041f6d5
tree98cb88b47893b3409f703d1240c246f456a6af4f
parent297a27fdf2f68e95d7e344a22f20d9053b74b3ac
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