From a6610c4a17637cde780f9088273929071b742ef8 Mon Sep 17 00:00:00 2001 From: Gastón Haro Date: Sat, 28 Mar 2020 17:01:05 -0300 Subject: github #46: _git-restore: Complete arguments to the --source option after a '=' sign --- Completion/Unix/Command/_git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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]' \ -- cgit 1.4.1