mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
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>
This commit is contained in:
parent
1eaabe34fc
commit
6419a12397
1 changed files with 2 additions and 2 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Reference in a new issue