From: Eddy Petrișor Date: Wed, 18 Apr 2018 22:35:49 GMT Subject: [RFC PATCH v4 6/9] fixup:t7406:don't call init after add, is redundant Message-ID: <20180418223552.18345-6-eddy.petrisor@codeaurora.org> In-Reply-To: <20180418223552.18345-1-eddy.petrisor@codeaurora.org> From: Eddy Petrișor Signed-off-by: Eddy Petrișor --- t/t7406-submodule-update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh index c5b412c46..32995e272 100755 --- a/t/t7406-submodule-update.sh +++ b/t/t7406-submodule-update.sh @@ -275,8 +275,7 @@ test_expect_success 'submodule update --remote --recursive --init should fetch m git config -f .gitmodules submodule."submodl2b2".branch b2 && git add .gitmodules && test_tick && - git commit -m "add l2 module with branch b2 in l1 module in branch b1" && - git submodule init submodl2b2 && + git commit -m "add l2 (on b2) in l1 (on b1)" && git rev-parse --verify HEAD >../expectl1 && git checkout master && cd ../super5 && -- 2.16.2