git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: "Szelp, A. Sz." <a.sz.szelp@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How to fetch all tags in the history of selected branch, but only those tags?
Date: Fri, 22 Nov 2019 07:53:35 -0500	[thread overview]
Message-ID: <20191122125335.GA20732@sigill.intra.peff.net> (raw)
In-Reply-To: <CAGn30R_C0BDCF-v0Ok5ekto9LK9wHUfHaKQi94wrKbaWaX6ezw@mail.gmail.com>

On Fri, Nov 22, 2019 at 10:58:07AM +0100, Szelp, A. Sz. wrote:

> 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

      reply	other threads:[~2019-11-22 12:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-22  9:58 How to fetch all tags in the history of selected branch, but only those tags? Szelp, A. Sz.
2019-11-22 12:53 ` Jeff King [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191122125335.GA20732@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=a.sz.szelp@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).