SHA256
1
0
forked from pool/git
git/git-bash-completion-egrep-color-fix.diff
Ismail Dönmez a2dcc27309 Accepting request 133877 from devel:tools:scm
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
2012-09-14 10:23:06 +00:00

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;;