summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 78f056435..ac4c90e75 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -753,7 +753,7 @@ _git-diff () {
_arguments -C -s \
$* \
$diff_options \
- '(--exit-code)--quiet[disable all output]'
+ '(--exit-code)--quiet[disable all output]' \
$diff_stage_options \
'(--cached --staged)'{--cached,--staged}'[show diff between index and named commit]' \
'(-)--[start file arguments]' \
@@ -849,7 +849,7 @@ _git-fetch () {
_arguments -C -S -s \
$fetch_options \
- '(-n --no-tags -t --tags)'{-n,--no-tags}'[disable automatic tag following]'
+ '(-n --no-tags -t --tags)'{-n,--no-tags}'[disable automatic tag following]' \
'(--all -m --multiple)'{-m,--multiple}'[fetch from multiple remotes]' \
'*:: :->repository-or-group-or-refspec' && ret=0