From b7b7eec509ee24655b17485fae702e2bd96b5835 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 15 Dec 2016 03:18:53 -0500 Subject: more --- git-mirror | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-mirror') 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" -- cgit v1.2.3