From: Junio C Hamano Date: Mon, 22 Feb 2016 21:10:20 +0000 (-0800) Subject: Merge branch 'pw/completion-stash' into maint X-Git-Tag: v2.7.2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/47847c756b7de9615cf89f353d3d2a84f8a871f1?ds=inline;hp=-c Merge branch 'pw/completion-stash' into maint * pw/completion-stash: completion: fix mis-indentation in _git_stash() --- 47847c756b7de9615cf89f353d3d2a84f8a871f1 diff --combined contrib/completion/git-completion.bash index 63f5c046a2,02a0489c00..00d729996f --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@@ -1169,7 -1169,7 +1169,7 @@@ __git_diff_common_options="--stat --num --no-prefix --src-prefix= --dst-prefix= --inter-hunk-context= --patience --histogram --minimal - --raw --word-diff + --raw --word-diff --word-diff-regex= --dirstat --dirstat= --dirstat-by-file --dirstat-by-file= --cumulative --diff-algorithm= @@@ -1687,12 -1687,8 +1687,12 @@@ _git_rebase ( --preserve-merges --stat --no-stat --committer-date-is-author-date --ignore-date --ignore-whitespace --whitespace= - --autosquash --fork-point --no-fork-point - --autostash + --autosquash --no-autosquash + --fork-point --no-fork-point + --autostash --no-autostash + --verify --no-verify + --keep-empty --root --force-rebase --no-ff + --exec " return @@@ -2372,7 -2368,7 +2372,7 @@@ _git_show_branch ( case "$cur" in --*) __gitcomp " - --all --remotes --topo-order --current --more= + --all --remotes --topo-order --date-order --current --more= --list --independent --merge-base --no-name --color --no-color --sha1-name --sparse --topics --reflog @@@ -2413,8 -2409,8 +2413,8 @@@ _git_stash ( show,--*|branch,--*) ;; branch,*) - if [ $cword -eq 3 ]; then - __gitcomp_nl "$(__git_refs)"; + if [ $cword -eq 3 ]; then + __gitcomp_nl "$(__git_refs)"; else __gitcomp_nl "$(git --git-dir="$(__gitdir)" stash list \ | sed -n -e 's/:.*//p')"