mirror of
https://github.com/git/git
synced 2024-08-24 02:11:08 +00:00
Merge branch 'pw/completion-stash'
* pw/completion-stash: completion: fix mis-indentation in _git_stash()
This commit is contained in:
commit
8716bdca26
|
@ -2415,8 +2415,8 @@ _git_stash ()
|
||||||
show,--*|branch,--*)
|
show,--*|branch,--*)
|
||||||
;;
|
;;
|
||||||
branch,*)
|
branch,*)
|
||||||
if [ $cword -eq 3 ]; then
|
if [ $cword -eq 3 ]; then
|
||||||
__gitcomp_nl "$(__git_refs)";
|
__gitcomp_nl "$(__git_refs)";
|
||||||
else
|
else
|
||||||
__gitcomp_nl "$(git --git-dir="$(__gitdir)" stash list \
|
__gitcomp_nl "$(git --git-dir="$(__gitdir)" stash list \
|
||||||
| sed -n -e 's/:.*//p')"
|
| sed -n -e 's/:.*//p')"
|
||||||
|
|
Loading…
Reference in a new issue