Merge branch 'ak/cvsserver-stabilize-use-of-hash-keys'
[gitweb.git] / contrib / mw-to-git / git-remote-mediawiki.perl
index 85d0c422961f990aa70a6cc5ed70ab319b5ca99a..476e0a2bc02d0708e01c63f6e0fc524a840d4c77 100755 (executable)
@@ -590,6 +590,9 @@ sub mw_capabilities {
        print {*STDOUT} "import\n";
        print {*STDOUT} "list\n";
        print {*STDOUT} "push\n";
+       if ($dumb_push) {
+               print {*STDOUT} "no-private-update\n";
+       }
        print {*STDOUT} "\n";
        return;
 }
@@ -1221,7 +1224,6 @@ sub mw_push_revision {
                }
                if (!$dumb_push) {
                        run_git(qq(notes --ref=${remotename}/mediawiki add -f -m "mediawiki_revision: ${mw_revision}" ${sha1_commit}));
-                       run_git(qq(update-ref -m "Git-MediaWiki push" refs/mediawiki/${remotename}/master ${sha1_commit} ${sha1_child}));
                }
        }