Skip to content

Commit 091853a

Browse files
committed
Merge branch 'nd/list-merge-strategy' into maint
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
2 parents f936c9b + 7cc763a commit 091853a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ __git_is_configured_remote ()
594594

595595
__git_list_merge_strategies ()
596596
{
597-
git merge -s help 2>&1 |
597+
LANG=C LC_ALL=C git merge -s help 2>&1 |
598598
sed -n -e '/[Aa]vailable strategies are: /,/^$/{
599599
s/\.$//
600600
s/.*://

0 commit comments

Comments
 (0)