Use LC_ALL=C for locale consistency

This commit is contained in:
Robin Winslow 2016-10-29 16:16:18 +01:00
parent ad5365fb53
commit 2137124977

View file

@ -75,7 +75,7 @@ main() {
# Set default branch
if [ -z "${branch:-}" ]; then
branch=`git remote show origin | grep -oP '(?<=HEAD branch: )[^ ]+$'`
branch=`LC_ALL=C git remote show origin | grep -oP '(?<=HEAD branch: )[^ ]+$'`
git remote set-head origin ${branch}
else
git remote set-head origin -a