Re: [PATCH v3 2/5] clone: add a --no-tags option to clone without tags

2017-04-28 Thread Ævar Arnfjörð Bjarmason
On Thu, Apr 27, 2017 at 7:54 PM, Stefan Beller wrote: > On Wed, Apr 26, 2017 at 4:12 PM, Ævar Arnfjörð Bjarmason > wrote: >> Add a --no-tags option to clone without fetching any tags. >> >> Without this change there's no easy way to clone a repository

Re: [PATCH v3 2/5] clone: add a --no-tags option to clone without tags

2017-04-27 Thread Brandon Williams
On 04/27, Stefan Beller wrote: > I like the option, though I dislike the implementation, specifically as you > brought up e.g. "[PATCH] various: disallow --no-no-OPT for --no-opt options". > > Can we have an option "--tags" instead, which is on by default > and then you can negate it to

Re: [PATCH v3 2/5] clone: add a --no-tags option to clone without tags

2017-04-27 Thread Stefan Beller
On Wed, Apr 26, 2017 at 4:12 PM, Ævar Arnfjörð Bjarmason wrote: > Add a --no-tags option to clone without fetching any tags. > > Without this change there's no easy way to clone a repository without > also fetching its tags. > > When supplying --single-branch the primary remote

[PATCH v3 2/5] clone: add a --no-tags option to clone without tags

2017-04-26 Thread Ævar Arnfjörð Bjarmason
Add a --no-tags option to clone without fetching any tags. Without this change there's no easy way to clone a repository without also fetching its tags. When supplying --single-branch the primary remote branch will be cloned, but in addition tags will be followed & retrieved. Now --no-tags can