From ac86ec0f5e2dbd0d46fb000db1a65f1d2173a02d Mon Sep 17 00:00:00 2001 From: Matthieu Moy Date: Tue, 27 Sep 2011 19:54:58 +0200 Subject: git-remote-mediawiki: trivial fixes Fix a whitespace issue (no space before :) and remove unused %status in mw_push. Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano --- contrib/mw-to-git/git-remote-mediawiki | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/mw-to-git/git-remote-mediawiki b/contrib/mw-to-git/git-remote-mediawiki index 0ba88de023..768b42dfe8 100755 --- a/contrib/mw-to-git/git-remote-mediawiki +++ b/contrib/mw-to-git/git-remote-mediawiki @@ -656,7 +656,7 @@ sub mw_push_file { $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" } @@ -666,7 +666,6 @@ sub mw_push_file { 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 =~ /^(\+)?([^:]*):([^:]*)$/ -- cgit v1.2.1