X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=git-am.sh;h=202130f888bee14e73b8cc108f39f2da8a14d23b;hb=57ff1703d72db1cf33f985dcebfb03fdaab758dc;hp=0e0a0966f4d2489cd944a12b9fe13db4958947d7;hpb=4ae6d4699f4d1df7cd3ffac9dd361c86d62eca42;p=git.git diff --git a/git-am.sh b/git-am.sh index 0e0a0966f..202130f88 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 /) {