summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-02-13 13:39:15 -0800
committerJunio C Hamano <gitster@pobox.com>2018-02-13 13:39:15 -0800
commit8df7f755569135140bd99bbf57aa354bcc5ac9be (patch)
treee09172a6ee6d5cefc860aa461b79523c5e2a1149
parent417c04c5a926d6c7b2dff22a460ec6dc49147df5 (diff)
parent7cc763aaa3f39c62e0b2d5520e9d2bd8e4f3c4b3 (diff)
downloadgit-8df7f755569135140bd99bbf57aa354bcc5ac9be.tar.gz
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
-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/.*://