Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sf/complete-stash-list'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 16 Oct 2018 07:16:09 +0000
(16:16 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 16 Oct 2018 07:16:09 +0000
(16:16 +0900)
The completion script (in contrib/) learned to complete a handful of
options "git stash list" command takes.
* sf/complete-stash-list:
git-completion.bash: add completion for stash list
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
(from parent 1:
65f1b1b
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index d63d2dffd4e12186e734adb0cc2ae7c1db7a6374..06ec6ca11399b21c6de5c0f5678dcb94d3925008 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-2567,6
+2567,9
@@
_git_stash ()
drop,--*)
__gitcomp "--quiet"
;;
+ list,--*)
+ __gitcomp "--name-status --oneline --patch-with-stat"
+ ;;
show,--*|branch,--*)
;;
branch,*)