summaryrefslogtreecommitdiff
path: root/git-mirror
diff options
context:
space:
mode:
Diffstat (limited to 'git-mirror')
-rwxr-xr-xgit-mirror2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-mirror b/git-mirror
index 1a33774..521576e 100755
--- a/git-mirror
+++ b/git-mirror
@@ -97,7 +97,7 @@ upload() {
# push repository
local repo_mode
repo_mode=$(remote "$remote" repo-mode)
- if [[ $repo_mode == push ]]; then
+ if [[ $repo_mode == passive ]]; then
local push_url
push_url="$(remote "$remote" push-url)"
cd "$local" && git push --mirror "$push_url"