summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-05-16 11:51:54 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-16 11:51:54 +0900
commita1fdc85f419022df5f2246b0444db4679e528e63 (patch)
tree16bfce120fd09fa2231220ffb0d29d25141bc5f8 /contrib/completion
parentMerge branch 'sk/status-short-branch-color-config' (diff)
parenttests: rename a test having to do with shallow submodules (diff)
downloadtgif-a1fdc85f419022df5f2246b0444db4679e528e63.tar.xz
Merge branch 'ab/clone-no-tags'
"git clone" learned the "--no-tags" option not to fetch all tags initially, and also set up the tagopt not to follow any tags in subsequent fetches. * ab/clone-no-tags: tests: rename a test having to do with shallow submodules clone: add a --no-tags option to clone without tags tests: change "cd ... && git fetch" to "cd &&\n\tgit fetch"
Diffstat (limited to 'contrib/completion')
-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 e77498dd9c..1ed0a09fee 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1319,6 +1319,7 @@ _git_clone ()
--template=
--depth
--single-branch
+ --no-tags
--branch
--recurse-submodules
--no-single-branch