Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-19 07:34:01 +0300
committerJunio C Hamano <gitster@pobox.com>2018-10-19 07:34:01 +0300
commitaef8e71f1512c2edb1b323969d3f215a23ff1c04 (patch)
tree09c4e15944f946ae0ebf318be47fe4f49ea71168
parenta4b8ab5363a32f283a61ef3a962853556d136c0e (diff)
parentb5619f6d2b72b0c06957338d279f684f9c3e45cd (diff)
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"
-rw-r--r--contrib/completion/git-completion.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 06ec6ca1139..db7fd87b6b2 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