aboutsummaryrefslogtreecommitdiff
path: root/tests/publish
diff options
context:
space:
mode:
Diffstat (limited to 'tests/publish')
-rwxr-xr-xtests/publish2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/publish b/tests/publish
index df355eb..bd1f327 100755
--- a/tests/publish
+++ b/tests/publish
@@ -60,7 +60,7 @@ for r in $(find test -type d -regex '.*/git/.*/[^/]+\.git'); do
# Push local branches and tags to the remote repository, if it exists.
#
- if git ls-remote "$url" 2>/dev/null >&2; then
+ if git ls-remote --refs "$url" 2>/dev/null >&2; then
# Point the bare repository origin to the remote repository.
#
git -C $br config remote.origin.url "$url"