a2dcc27309
Fix regression in 1.7.12 package (__git_ps1 disappeared) (forwarded request 133838 from flichtenheld) OBS-URL: https://build.opensuse.org/request/show/133877 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=90
16 lines
464 B
Diff
16 lines
464 B
Diff
---
|
|
contrib/completion/git-completion.bash | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/contrib/completion/git-completion.bash
|
|
+++ b/contrib/completion/git-completion.bash
|
|
@@ -815,7 +815,7 @@ __git_complete_strategy ()
|
|
__git_list_all_commands ()
|
|
{
|
|
local i IFS=" "$'\n'
|
|
- for i in $(git help -a|egrep '^ [a-zA-Z0-9]')
|
|
+ for i in $(git help -a|egrep --color=never '^ [a-zA-Z0-9]')
|
|
do
|
|
case $i in
|
|
*--*) : helper pattern;;
|