diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_git | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 05d228d62..943bfe1d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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]' \ |