git-remote-mediawiki: use no-private-update capability on dumb push
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
597b831afb
commit
aa38dc68ea
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user