summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-02-13 13:39:15 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-13 13:39:15 -0800
commit8df7f755569135140bd99bbf57aa354bcc5ac9be (patch)
treee09172a6ee6d5cefc860aa461b79523c5e2a1149 /contrib
parentMerge branch 'jt/long-running-process-doc' (diff)
parentcompletion: fix completing merge strategies on non-C locales (diff)
downloadtgif-8df7f755569135140bd99bbf57aa354bcc5ac9be.tar.xz
Merge branch 'nd/list-merge-strategy'
Completion of "git merge -s<strategy>" (in contrib/) did not work well in non-C locale. * nd/list-merge-strategy: completion: fix completing merge strategies on non-C locales
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 3683c772c5..88813e9124 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -594,7 +594,7 @@ __git_is_configured_remote ()
__git_list_merge_strategies ()
{
- git merge -s help 2>&1 |
+ LANG=C LC_ALL=C git merge -s help 2>&1 |
sed -n -e '/[Aa]vailable strategies are: /,/^$/{
s/\.$//
s/.*://