git-remote-mediawiki: use no-private-update capability on dumb push
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Mon, 2 Sep 2013 07:19:47 +0000 (09:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Sep 2013 18:58:12 +0000 (11:58 -0700)
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/mw-to-git/git-remote-mediawiki.perl
index f8d7d2ca6c0926912200ddcadf8359c1b9bfef44..22300a141761307b718e5fa95b20dc858c1616c8 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;
 }