Re: Pulling tags from git.git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Ho wrote:
Okay sorry, git fetch --tags did the trick.

Just out of curiosity, should git pull --tags behave similarly since
the difference is git pull does a merge after a fetch?


With the git or git+ssh protocol, tags will be autofollowed when you do a pull (only signed tags, I think). The auto-following is done by detecting tags that are fetched, so when you did a pull using rsync the tags weren't auto-followed but you got all the commits. Next, when you changed protocol to git:// you already had all the commit objects, so there was nothing to auto-detect tags on. Since you're using git:// now it should work as advertised in the future though.

--
Andreas Ericsson                   andreas.ericsson@xxxxxx
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]