File git-bash-completion-egrep-color-fix.diff of Package git.14685

---
 contrib/completion/git-completion.bash |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: git-2.11.0/contrib/completion/git-completion.bash
===================================================================
--- git-2.11.0.orig/contrib/completion/git-completion.bash
+++ git-2.11.0/contrib/completion/git-completion.bash
@@ -627,7 +627,7 @@ __git_commands () {
 	then
 		printf "%s" "${GIT_TESTING_COMMAND_COMPLETION}"
 	else
-		git help -a|egrep '^  [a-zA-Z0-9]'
+		git help -a|egrep --color=never '^  [a-zA-Z0-9]'
 	fi
 }
 
openSUSE Build Service is sponsored by