diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2013-09-02 09:19:47 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-03 11:58:12 -0700 |
commit | aa38dc68ea423cddee527b3e2c1d85949783d6b9 (patch) | |
tree | c72024107c02577cd177ec932b242e1521640b46 /contrib/mw-to-git | |
parent | transport-helper: add no-private-update capability (diff) | |
download | tgif-aa38dc68ea423cddee527b3e2c1d85949783d6b9.tar.xz |
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>
Diffstat (limited to 'contrib/mw-to-git')
-rwxr-xr-x | contrib/mw-to-git/git-remote-mediawiki.perl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/mw-to-git/git-remote-mediawiki.perl b/contrib/mw-to-git/git-remote-mediawiki.perl index f8d7d2ca6c..22300a1417 100755 --- a/contrib/mw-to-git/git-remote-mediawiki.perl +++ b/contrib/mw-to-git/git-remote-mediawiki.perl @@ -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; } |