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 <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefan Beller committed Jan 5, 2018 at 12:03 UTC 6419a12397c8ea2017a2540e23c8ea3cc67ce60f
1 file changed +2 -2
t/lib-submodule-update.sh
+2 -2
@@ -664,8 +664,8 @@ test_submodule_recursing_with_args_common() {
664 cd submodule_update &&
665 git -C sub1 checkout -b keep_branch &&
666 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 &&
669 test_superproject_content origin/modify_sub1 &&
670 test_submodule_content sub1 origin/modify_sub1 &&
671 git -C sub1 rev-parse keep_branch >actual &&