Skip to content

Commit 6419a12

Browse files
stefanbellergitster
authored andcommitted
t/lib-submodule-update.sh: clarify test
Keep the local branch name as the upstream branch name to avoid confusion. Signed-off-by: Stefan Beller <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1eaabe3 commit 6419a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/lib-submodule-update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,8 @@ test_submodule_recursing_with_args_common() {
664664
cd submodule_update &&
665665
git -C sub1 checkout -b keep_branch &&
666666
git -C sub1 rev-parse HEAD >expect &&
667-
git branch -t check-keep origin/modify_sub1 &&
668-
$command check-keep &&
667+
git branch -t modify_sub1 origin/modify_sub1 &&
668+
$command modify_sub1 &&
669669
test_superproject_content origin/modify_sub1 &&
670670
test_submodule_content sub1 origin/modify_sub1 &&
671671
git -C sub1 rev-parse keep_branch >actual &&

0 commit comments

Comments
 (0)