From: Célestin Matte Date: Fri, 14 Jun 2013 13:50:19 +0000 (+0200) Subject: git-remote-mediawiki: change style in a regexp X-Git-Tag: v1.8.4-rc0~147^2~20 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6b825a46229daffc6f70b37cb7a21193214f508b?ds=inline;hp=-c git-remote-mediawiki: change style in a regexp In this regexp, ' |\n' is used, whereas its equivalent '[ \n]', which is clearer, is used elsewhere. Make the style coherent. Signed-off-by: Célestin Matte Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano --- 6b825a46229daffc6f70b37cb7a21193214f508b diff --git a/contrib/mw-to-git/git-remote-mediawiki.perl b/contrib/mw-to-git/git-remote-mediawiki.perl index e4d86ed65b..0169d422be 100755 --- a/contrib/mw-to-git/git-remote-mediawiki.perl +++ b/contrib/mw-to-git/git-remote-mediawiki.perl @@ -1192,7 +1192,7 @@ sub mw_push_revision { my @history = split(/\n/, $history); @history = @history[1..$#history]; foreach my $line (reverse @history) { - my @commit_info_split = split(/ |\n/, $line); + my @commit_info_split = split(/[ \n]/, $line); push(@commit_pairs, \@commit_info_split); } }