git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
597b831
)
git-remote-mediawiki: use no-private-update capability on dumb push
author
Matthieu Moy
<redacted>
Mon, 2 Sep 2013 07:19:47 +0000
(09:19 +0200)
committer
Junio C Hamano
<redacted>
Tue, 3 Sep 2013 18:58:12 +0000
(11:58 -0700)
Signed-off-by: Matthieu Moy <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/mw-to-git/git-remote-mediawiki.perl
patch
|
blob
|
history
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;
}
git clone https://git.99rst.org/PROJECT