diff options
author | Gastón Haro <gaston.haro@fing.edu.uy> | 2020-03-28 17:01:05 -0300 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-03-28 22:49:41 +0000 |
commit | a6610c4a17637cde780f9088273929071b742ef8 (patch) | |
tree | e808ee92fe7d5e0fdb741cb837ba4763df7a7b8c /Completion/Unix/Command | |
parent | f306221674af05422c9fd60410f2ab054e123255 (diff) | |
download | zsh-a6610c4a17637cde780f9088273929071b742ef8.tar.gz zsh-a6610c4a17637cde780f9088273929071b742ef8.tar.xz zsh-a6610c4a17637cde780f9088273929071b742ef8.zip |
github #46: _git-restore: Complete arguments to the --source option after a '=' sign
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_git | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 15280db70..9eeff6a49 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1548,7 +1548,7 @@ _git-restore() { local -A opt_args _arguments -C -s -S $endopt \ - '(-s --source)'{-s,--source}'[specify which tree-ish to checkout from]:source tree:->sources' \ + '(-s --source)'{-s,--source=}'[specify which tree-ish to checkout from]:source tree:->sources' \ '(-S --staged)'{-S,--staged}'[restore the index]' \ '(-W --worktree)'{-W,--worktree}'[restore the working tree (default)]' \ '--ignore-unmerged[ignore unmerged entries]' \ |