SHA256
1
0
forked from pool/git
git/completion-wordbreaks.diff
Sascha Peilicke 01f4542b84 Accepting request 74766 from devel:tools:scm
- update to 1.7.6: major update from 1.7.5.x
 * Similar to branch names, tagnames that begin with "-" are now
   disallowed.
 * Simpler handling of a large file depending on core.bigfilethreshold
   value
 * A magic pathspec ":/" handling
 * Some new options and improvements in git-blame, git-commit, git-diff
   git-grep, git-format-patch, git-merge, git-svn, etc
 * More prepartaion for i18n/l10n.
 See Documentation/RelNotes/1.7.6.txt for details.

- updated to git 1.7.6: see git changelog for more details

OBS-URL: https://build.opensuse.org/request/show/74766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=64
2011-06-28 13:12:53 +00:00

24 lines
697 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
@@ -77,10 +77,12 @@
autoload -U +X bashcompinit && bashcompinit
fi
-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