cleanup spec
[platform/upstream/git.git] / packaging / completion-wordbreaks.diff
1 ---
2  contrib/completion/git-completion.bash |   10 ++++++----
3  1 file changed, 6 insertions(+), 4 deletions(-)
4
5 --- a/contrib/completion/git-completion.bash
6 +++ b/contrib/completion/git-completion.bash
7 @@ -77,10 +77,12 @@
8         autoload -U +X bashcompinit && bashcompinit
9  fi
10  
11 -case "$COMP_WORDBREAKS" in
12 -*:*) : great ;;
13 -*)   COMP_WORDBREAKS="$COMP_WORDBREAKS:"
14 -esac
15 +# SUSE-specific: We trust the system is consistent and do not let individual
16 +# scripts play ping-pong with the global $COMP_WORDBREAKS value.
17 +#case "$COMP_WORDBREAKS" in
18 +#*:*) : great ;;
19 +#*)   COMP_WORDBREAKS="$COMP_WORDBREAKS:"
20 +#esac
21  
22  # __gitdir accepts 0 or 1 arguments (i.e., location)
23  # returns location of .git repo