summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-04-28 22:50:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-04-28 22:50:09 (GMT)
commit7d96ac1a64b18c0f8a1debbc726ef60744fa97bb (patch)
tree5f9294b5bcfd95ad28a57a4bcee37935e24360ef /contrib
parent33a106098824f50ec0e2e7d642cea26f9a384da4 (diff)
parent051cc549413cc0a56696b207df9c5be2ac64e993 (diff)
downloadgit-7d96ac1a64b18c0f8a1debbc726ef60744fa97bb.zip
git-7d96ac1a64b18c0f8a1debbc726ef60744fa97bb.tar.gz
git-7d96ac1a64b18c0f8a1debbc726ef60744fa97bb.tar.bz2
Merge branch 'tm/zsh-complete-switch-restore'
zsh command line completion (in contrib/) update. * tm/zsh-complete-switch-restore: complete: zsh: add missing sub cmd completion candidates
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh
index eef4eff..ce47e86 100644
--- a/contrib/completion/git-completion.zsh
+++ b/contrib/completion/git-completion.zsh
@@ -150,9 +150,11 @@ __git_zsh_cmd_common ()
push:'update remote refs along with associated objects'
rebase:'forward-port local commits to the updated upstream head'
reset:'reset current HEAD to the specified state'
+ restore:'restore working tree files'
rm:'remove files from the working tree and from the index'
show:'show various types of objects'
status:'show the working tree status'
+ switch:'switch branches'
tag:'create, list, delete or verify a tag object signed with GPG')
_describe -t common-commands 'common commands' list && _ret=0
}