]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/git.pm
git: explicitly specify the branch to push to origin
[git.ikiwiki.info.git] / IkiWiki / Plugin / git.pm
index 77c0678bcbd8dfd32c13b164477ea899d0c9f38a..96a9727e934812d59117ed57ea6094048399052a 100644 (file)
@@ -609,7 +609,7 @@ sub rcs_commit_helper (@) {
        # So we should ignore its exit status (hence run_or_non).
        if (run_or_non('git', 'commit', '-m', $params{message}, '-q', @opts)) {
                if (length $config{gitorigin_branch}) {
-                       run_or_cry('git', 'push', $config{gitorigin_branch});
+                       run_or_cry('git', 'push', $config{gitorigin_branch}, $config{gitmaster_branch});
                }
        }