mirror of
https://github.com/git/git
synced 2024-08-28 03:59:25 +00:00
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 a new issue