complete: zsh: add missing sub cmd completion candidates
authorTerry Moschou <redacted>
Fri, 17 Apr 2020 07:11:04 +0000 (07:11 +0000)
committerJunio C Hamano <redacted>
Fri, 17 Apr 2020 19:11:34 +0000 (12:11 -0700)
commit051cc549413cc0a56696b207df9c5be2ac64e993
treec918f7fae3700407845c6cceee609c30d5cd2ef4
parentde49261b050d9cd8ec73842356077bc5b606640f
complete: zsh: add missing sub cmd completion candidates

Add missing 'restore' and 'switch' sub commands to zsh completion
candidate output. E.g.

  $ git re<tab>
  rebase    -- forward-port local commits to the updated upstream head
  reset     -- reset current HEAD to the specified state
  restore   -- restore working tree files

  $ git s<tab>
  show      -- show various types of objects
  status    -- show the working tree status
  switch    -- switch branches

Signed-off-by: Terry Moschou <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.zsh
git clone https://git.99rst.org/PROJECT