diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-10-19 06:34:01 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-19 06:34:01 +0200 |
commit | aef8e71f1512c2edb1b323969d3f215a23ff1c04 (patch) | |
tree | 09c4e15944f946ae0ebf318be47fe4f49ea71168 /contrib | |
parent | Fourth batch for 2.20 (diff) | |
parent | completion: support "git fetch --multiple" (diff) | |
download | git-aef8e71f1512c2edb1b323969d3f215a23ff1c04.tar.xz git-aef8e71f1512c2edb1b323969d3f215a23ff1c04.zip |
Merge branch 'nd/complete-fetch-multiple-args'
Teach bash completion that "git fetch --multiple" only takes remote
names as arguments and no refspecs.
* nd/complete-fetch-multiple-args:
completion: support "git fetch --multiple"
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 06ec6ca113..db7fd87b6b 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -943,6 +943,7 @@ __git_complete_remote_or_refspec () *) ;; esac ;; + --multiple) no_complete_refspec=1; break ;; -*) ;; *) remote="$i"; break ;; esac |