]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5505-remote.sh
builtin/remote.c: show progress when renaming remote references
[thirdparty/git.git] / t / t5505-remote.sh
index 9ab315424c4b71e1a431c511bddc02b9c0b4e49b..c90cf47acdb23489dbc06e76437372cb407bfa75 100755 (executable)
@@ -753,7 +753,9 @@ test_expect_success 'rename a remote' '
        (
                cd four &&
                git config branch.main.pushRemote origin &&
-               git remote rename origin upstream &&
+               GIT_TRACE2_EVENT=$(pwd)/trace \
+                       git remote rename --progress origin upstream &&
+               test_region progress "Renaming remote references" trace &&
                grep "pushRemote" .git/config &&
                test -z "$(git for-each-ref refs/remotes/origin)" &&
                test "$(git symbolic-ref refs/remotes/upstream/HEAD)" = "refs/remotes/upstream/main" &&