summaryrefslogtreecommitdiff
path: root/t/lib-submodule-update.sh
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-01-05 20:03:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-01-05 20:35:04 (GMT)
commit6419a12397c8ea2017a2540e23c8ea3cc67ce60f (patch)
treeb20774bdeeb28785ea6ca525082bd2ab083c92ce /t/lib-submodule-update.sh
parent1eaabe34fc6f486367a176207420378f587d3b48 (diff)
downloadgit-6419a12397c8ea2017a2540e23c8ea3cc67ce60f.zip
git-6419a12397c8ea2017a2540e23c8ea3cc67ce60f.tar.gz
git-6419a12397c8ea2017a2540e23c8ea3cc67ce60f.tar.bz2
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>
Diffstat (limited to 't/lib-submodule-update.sh')
-rwxr-xr-xt/lib-submodule-update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lib-submodule-update.sh b/t/lib-submodule-update.sh
index 38dadd2..d769904 100755
--- a/t/lib-submodule-update.sh
+++ b/t/lib-submodule-update.sh
@@ -664,8 +664,8 @@ test_submodule_recursing_with_args_common() {
cd submodule_update &&
git -C sub1 checkout -b keep_branch &&
git -C sub1 rev-parse HEAD >expect &&
- git branch -t check-keep origin/modify_sub1 &&
- $command check-keep &&
+ git branch -t modify_sub1 origin/modify_sub1 &&
+ $command modify_sub1 &&
test_superproject_content origin/modify_sub1 &&
test_submodule_content sub1 origin/modify_sub1 &&
git -C sub1 rev-parse keep_branch >actual &&