completion: add git stash push
PATCH 1/1 completion: add git stash push
When introducing git stash push in f5727e26e4 ("stash: introduce push verb", 2017-02-19), I forgot to add it to the completion code. Add it now.
Signed-off-by Thomas Gummerer <[email protected]>
--- contrib/completion/git-completion.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
contrib/completion/git-completion.bash +4 -1
@@ -2810,7 +2810,7 @@ _git_show_branch () _git_stash () { local save_opts='--all --keep-index --no-keep-index --quiet --patch --include-untracked' - local subcommands='save list show apply clear drop pop create branch' + local subcommands='push save list show apply clear drop pop create branch' local subcommand="$(__git_find_on_cmdline "$subcommands")" if [ -z "$subcommand" ]; then case "$cur" in
@@ -2825,6 +2825,9 @@ _git_stash () esac else case "$subcommand,$cur" in + push,--*) + __gitcomp "$save_opts --message" + ;; save,--*) __gitcomp "$save_opts" ;;
Signature · 1 line
2.13.0.rc2.279.g813ba54fc
Quoted 8 lines · Thomas Gummerer
When introducing git stash push in
f5727e26e4("stash: introduce push verb", 2017-02-19), I forgot to add it to the completion code. Add it now.Signed-off-by Thomas Gummerer <[email protected]>--- contrib/completion/git-completion.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Reviewed-by Jonathan Nieder <[email protected]>
Thanks.
Quoted 6 lines · Jonathan Nieder
Quoted 4 lines · Thomas Gummerer
When introducing git stash push in
f5727e26e4("stash: introduce push verb", 2017-02-19), I forgot to add it to the completion code. Add it now.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Thomas Gummerer <[email protected]>--- contrib/completion/git-completion.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)Reviewed-by Jonathan Nieder <[email protected]>
Thanks, both. Will queue.