diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-05-16 11:51:54 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-16 11:51:54 +0900 |
commit | a1fdc85f419022df5f2246b0444db4679e528e63 (patch) | |
tree | 16bfce120fd09fa2231220ffb0d29d25141bc5f8 /contrib | |
parent | 3900254bf29e00ad72de7a5b8e354369b2b84245 (diff) | |
parent | 1524ccdc1873029e4eafa5bffae2aa66d02369d8 (diff) | |
download | git-a1fdc85f419022df5f2246b0444db4679e528e63.tar.gz git-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')
-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 e77498dd9..1ed0a09fe 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 |