On 13.08.2016 01:26, Oliver Kiddle wrote:
> This updates _git for new options up to git 2.9.2.
Awesome, thanks a lot!
I found two missing backslashes:
Completion/Unix/Command/_git | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git i/Completion/Unix/Command/_git w/Completion/Unix/Command/_git
index 78f0564..ac4c90e 100644
--- i/Completion/Unix/Command/_git
+++ w/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
Will commit it.
Attachment:
signature.asc
Description: OpenPGP digital signature