mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
github #46: _git-restore: Complete arguments to the --source option after a '=' sign
This commit is contained in:
parent
f306221674
commit
a6610c4a17
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2020-03-28 Gastón Haro <gaston.haro@fing.edu.uy>
|
||||
|
||||
* github #46: Completion/Unix/Command/_git: _git-restore:
|
||||
Complete arguments to the --source option after a '=' sign
|
||||
|
||||
2020-03-28 Gastón Haro <harogaston@users.noreply.github.com>
|
||||
|
||||
* github #46: Completion/Unix/Command/_git: Better restrict
|
||||
|
|
|
@ -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]' \
|
||||
|
|
Loading…
Reference in a new issue