Re: Pulling tags from git.git
- From
David Ho <davidkwho@gmail.com>
- Date
- Mar 7, 2006, 16:12 UTC
- Message-ID
- <4dd15d180603070812u16fbcf58m4afea92293dce370@mail.gmail.com>
- In-Reply-To
- <440D5285.3050401@op5.se>
Andreas,
After get it working, I did an experiment where I hard-resetted my local repo to v1.2.3, git-pruned and removed the v1.2.4 tag. A git pull with the git protocol does indeed pick up the tag.
Thanks for explaining what's going on under the hood. Everything now makes sense to me!
David
On 3/7/06, Andreas Ericsson <ae@op5.se> wrote:
Show 7 quoted lines
> 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.