Make sure heads/foo and tags/foo do not confuse things.
[gitweb.git] / git-revert.sh
index dfd914cf561c10f92ef2f3207446800de70c4834..4154fe0d15456697185115c70ac6df59eabd2869 100755 (executable)
@@ -112,7 +112,7 @@ cherry-pick)
                q
        }'
        set_author_env=`git-cat-file commit "$commit" |
-       sed -ne "$pick_author_script"`
+       LANG=C LC_ALL=C sed -ne "$pick_author_script"`
        eval "$set_author_env"
        export GIT_AUTHOR_NAME
        export GIT_AUTHOR_EMAIL