Skip to content

Commit aa38dc6

Browse files
moygitster
authored andcommitted
git-remote-mediawiki: use no-private-update capability on dumb push
Signed-off-by: Matthieu Moy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 597b831 commit aa38dc6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/mw-to-git/git-remote-mediawiki.perl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,9 @@ sub mw_capabilities {
590590
print {*STDOUT} "import\n";
591591
print {*STDOUT} "list\n";
592592
print {*STDOUT} "push\n";
593+
if ($dumb_push) {
594+
print {*STDOUT} "no-private-update\n";
595+
}
593596
print {*STDOUT} "\n";
594597
return;
595598
}

0 commit comments

Comments
 (0)