mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Use LC_ALL=C for locale consistency
This commit is contained in:
parent
ad5365fb53
commit
2137124977
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue