Thread (5 messages) 5 messages, 3 authors, 2017-04-25

Re: [PATCH] clone: add a --no-tags option to clone without tags

From: Jonathan Nieder <hidden>
Date: 2017-04-25 22:35:43

Hi,

Ævar Arnfjörð Bjarmason wrote:
Add a --no-tags option to "git clone" to clone without tags. Currently
there's no easy way to clone a repository and end up with just a
"master" branch via --single-branch, or track all branches and no
tags. Now --no-tags can be added to "git clone" with or without
--single-branch to clone a repository without tags.
Could --single-branch be made to imply --no-tags, like --depth implies
--single-branch?  After all, all I wanted is that one branch, not some
tags.

Callers who really want the tags could still pass --tags to request
that.

Just thinking out loud,
Jonathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help