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

Re: How to fetch all tags in the history of selected branch, but only those tags?

From
Jeff King <peff@peff.net>
Date
Nov 22, 2019, 12:53 UTC
Message-ID
<20191122125335.GA20732@sigill.intra.peff.net>
In-Reply-To
<CAGn30R_C0BDCF-v0Ok5ekto9LK9wHUfHaKQi94wrKbaWaX6ezw@mail.gmail.com>
On Fri, Nov 22, 2019 at 10:58:07AM +0100, Szelp, A. Sz. wrote:
Show 9 quoted lines
> However doing `git fetch origin master` I do *not* get any tags. Doing
> `--tags` on the other hand fetches *all* of the tags, defying the
> benefit spelled out in " the effect is to fetch tags that point at
> branches that you are interested in".
> 
> What am I missing? Is this indeed a bug (either in implementation or
> in documentation), or am I missing something obvious. Also, how can I
> force the desired behaviour (fetch the tags in the history, but only
> those).
This was discussed recently in:
  https://public-inbox.org/git/alpine.LSU.2.20.1910021431130.32588@cpza.bfz-tzou.qr/
-Peff
Previous: Szelp, A. Sz.
Message 2 of 2 in “How to fetch all tags in the history of selected branch, but only those tags?”
  1. Szelp, A. Sz.Nov 22, 2019
  2. Jeff KingNov 22, 2019

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.