Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-remote-mediawiki: use no-private-update capability on dumb push
author
Matthieu Moy
<Matthieu.Moy@imag.fr>
Mon, 2 Sep 2013 07:19:47 +0000
(09:19 +0200)
committer
Junio 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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
597b831
)
diff --git
a/contrib/mw-to-git/git-remote-mediawiki.perl
b/contrib/mw-to-git/git-remote-mediawiki.perl
index f8d7d2ca6c0926912200ddcadf8359c1b9bfef44..22300a141761307b718e5fa95b20dc858c1616c8 100755
(executable)
--- 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;
}