X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=git-am.sh;h=b4d95f58c6f77e2b80a85be9b147351747926235;hb=61947de909ae1fa6112a58a812c6202cd02d3549;hp=c682d34094d618734ac52d6d7e15a6c10ccfdeb6;hpb=86ef7b37f921dccff6d940fb17005e0906a2bf3e;p=git.git diff --git a/git-am.sh b/git-am.sh index c682d3409..b4d95f58c 100755 --- a/git-am.sh +++ b/git-am.sh @@ -334,7 +334,7 @@ split_patches () { # Since we cannot guarantee that the commit message is in # git-friendly format, we put no Subject: line and just consume # all of the message as the body - perl -M'POSIX qw(strftime)' -ne 'BEGIN { $subject = 0 } + LANG=C LC_ALL=C perl -M'POSIX qw(strftime)' -ne 'BEGIN { $subject = 0 } if ($subject) { print ; } elsif (/^\# User /) { s/\# User/From:/ ; print ; } elsif (/^\# Date /) {