SHA256
1
0
forked from pool/git
git/completion-wordbreaks.diff
OBS User autobuild bb54ee6dfc Accepting request 49174 from devel:tools:scm
Copy from devel:tools:scm/git based on submit request 49174 from user coolo

OBS-URL: https://build.opensuse.org/request/show/49174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=45
2010-09-27 14:02:12 +00:00

24 lines
679 B
Diff

---
contrib/completion/git-completion.bash | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -72,10 +72,12 @@
# git@vger.kernel.org
#
-case "$COMP_WORDBREAKS" in
-*:*) : great ;;
-*) COMP_WORDBREAKS="$COMP_WORDBREAKS:"
-esac
+# SUSE-specific: We trust the system is consistent and do not let individual
+# scripts play ping-pong with the global $COMP_WORDBREAKS value.
+#case "$COMP_WORDBREAKS" in
+#*:*) : great ;;
+#*) COMP_WORDBREAKS="$COMP_WORDBREAKS:"
+#esac
# __gitdir accepts 0 or 1 arguments (i.e., location)
# returns location of .git repo