From 21371249771ca34e3925fd4f418a878da424f2ea Mon Sep 17 00:00:00 2001 From: Robin Winslow Date: Sat, 29 Oct 2016 16:16:18 +0100 Subject: [PATCH] Use LC_ALL=C for locale consistency --- bin/git-force-clone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-force-clone b/bin/git-force-clone index 828dea6..7096df6 100755 --- a/bin/git-force-clone +++ b/bin/git-force-clone @@ -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