Skip to content

Commit ac86ec0

Browse files
moygitster
authored andcommitted
git-remote-mediawiki: trivial fixes
Fix a whitespace issue (no space before :) and remove unused %status in mw_push. Signed-off-by: Matthieu Moy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 93f0d33 commit ac86ec0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contrib/mw-to-git/git-remote-mediawiki

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ sub mw_push_file {
656656
$mediawiki->{error}->{code} .
657657
' from mediwiki: ' . $mediawiki->{error}->{details};
658658
$newrevid = $result->{edit}->{newrevid};
659-
print STDERR "Pushed file : $new_sha1 - $title\n";
659+
print STDERR "Pushed file: $new_sha1 - $title\n";
660660
} else {
661661
print STDERR "$complete_file_name not a mediawiki file (Not pushable on this version of git-remote-mediawiki).\n"
662662
}
@@ -666,7 +666,6 @@ sub mw_push_file {
666666
sub mw_push {
667667
# multiple push statements can follow each other
668668
my @refsspecs = (shift, get_more_refs("push"));
669-
my %status;
670669
my $pushed;
671670
for my $refspec (@refsspecs) {
672671
my ($force, $local, $remote) = $refspec =~ /^(\+)?([^:]*):([^:]*)$/

0 commit comments

Comments
 (0)