git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Pulling tags from git.git

From
Andreas Ericsson <ae@op5.se>
Date
Mar 7, 2006, 09:29 UTC
Message-ID
<440D5285.3050401@op5.se>
In-Reply-To
<4dd15d180603061054k36d1a434se7377ded1b3240bb@mail.gmail.com>
David Ho wrote:
Show 5 quoted lines
> 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@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: David HoNext: Junio C Hamano
Message 3 of 15 in “Pulling tags from git.git”
  1. David HoMar 6, 2006
  2. David HoMar 6, 2006
  3. Andreas EricssonMar 7, 2006
  4. Junio C HamanoMar 7, 2006
  5. Andreas EricssonMar 7, 2006
  6. A Large Angry SCMMar 7, 2006
  7. Andreas EricssonMar 7, 2006
  8. Junio C HamanoMar 7, 2006
  9. A Large Angry SCMMar 8, 2006
  10. Andreas EricssonMar 8, 2006
  11. Florian WeimerMar 9, 2006
  12. Andreas EricssonMar 9, 2006
  13. Florian WeimerMar 20, 2006
  14. Junio C HamanoMar 20, 2006
  15. David HoMar 7, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.