summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 93f0d33)
raw | patch | inline | side by side (parent: 93f0d33)
author | Matthieu Moy <Matthieu.Moy@imag.fr> | |
Tue, 27 Sep 2011 17:54:58 +0000 (19:54 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 27 Sep 2011 18:25:02 +0000 (11:25 -0700) |
Fix a whitespace issue (no space before :) and remove unused %status in
mw_push.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
mw_push.
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 | patch | blob | history |
index 0ba88de023b80427fa7020d35258aab003bd345c..768b42dfe8767b66c836b55b09aeedabed64e102 100755 (executable)
$mediawiki->{error}->{code} .
' from mediwiki: ' . $mediawiki->{error}->{details};
$newrevid = $result->{edit}->{newrevid};
- print STDERR "Pushed file : $new_sha1 - $title\n";
+ print STDERR "Pushed file: $new_sha1 - $title\n";
} else {
print STDERR "$complete_file_name not a mediawiki file (Not pushable on this version of git-remote-mediawiki).\n"
}
sub mw_push {
# multiple push statements can follow each other
my @refsspecs = (shift, get_more_refs("push"));
- my %status;
my $pushed;
for my $refspec (@refsspecs) {
my ($force, $local, $remote) = $refspec =~ /^(\+)?([^:]*):([^:]*)$/