summaryrefslogtreecommitdiff
path: root/git-mirror
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-15 03:18:53 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-15 03:18:53 -0500
commitb7b7eec509ee24655b17485fae702e2bd96b5835 (patch)
tree0d3a18c2f6660d716307fa732f16613850ae98e3 /git-mirror
parent4974d0297cff29aa3d3731782e0fc661be31530b (diff)
more
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"