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 <celestin.matte@ensimag.fr> Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Célestin Matte committed Jun 14, 2013 at 15:50 UTC 6b825a46229daffc6f70b37cb7a21193214f508b
1 file changed +1 -1
contrib/mw-to-git/git-remote-mediawiki.perl
+1 -1
@@ -1192,7 +1192,7 @@ sub mw_push_revision {
1192 my @history = split(/\n/, $history);
1193 @history = @history[1..$#history];
1194 foreach my $line (reverse @history) {
1195 - my @commit_info_split = split(/ |\n/, $line);
1195 + my @commit_info_split = split(/[ \n]/, $line);
1196 push(@commit_pairs, \@commit_info_split);
1197 }
1198 }