git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Sixt <j.sixt@viscovery.net>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH 07/11] git-fetch: Limit automated tag following to only fetched objects
Date: Fri, 09 Nov 2007 12:28:28 +0100	[thread overview]
Message-ID: <4734445C.6000303@viscovery.net> (raw)
In-Reply-To: <20071109110631.GG19368@spearce.org>

Shawn O. Pearce schrieb:
> Some of the test vectors for t5515 were affected by this as they
> were listing "not-for-merge" tags in .git/FETCH_HEAD that were
> being fetched under the old rule but are now not fetched under the
> new rule.  To be perfectly honest I have no idea why they were even
> fetching under the old rule, and I think that's part of the problem
> with the old rule.  It was very difficult to understand why some
> things would auto-follow a tag and others wouldn't.

The old rule was:

	Fetch a tag if we have the object that the tag refers to.

So, If you have an object lingering in your repo, even if it is not 
accessible by any of the refs - eg. it's a left-over from a previous fetch - 
then the tag was fetched again.

-- Hannes

  reply	other threads:[~2007-11-09 11:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-09 11:06 [PATCH 07/11] git-fetch: Limit automated tag following to only fetched objects Shawn O. Pearce
2007-11-09 11:28 ` Johannes Sixt [this message]
2007-11-09 12:12 ` CJ van den Berg
2007-11-10 14:10   ` Andreas Ericsson
2007-11-09 22:26 ` Junio C Hamano
2007-11-11  5:49   ` Shawn O. Pearce

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

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

  git send-email \
    --in-reply-to=4734445C.6000303@viscovery.net \
    --to=j.sixt@viscovery.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=spearce@spearce.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.
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 NNTP newsgroup(s).