From: Jeffrey Middleton <jefromi@gmail.com>
To: Jeff King <peff@peff.net>
Cc: Michael J Gruber <git@drmicha.warpmail.net>, git@vger.kernel.org
Subject: Re: git update --prune issue
Date: Tue, 27 Oct 2009 11:39:14 -0500 [thread overview]
Message-ID: <4389ce950910270939u10fff402l6e9a5333913d7a74@mail.gmail.com> (raw)
In-Reply-To: <20091027162936.GA8130@sigill.intra.peff.net>
On Tue, Oct 27, 2009 at 11:29 AM, Jeff King <peff@peff.net> wrote:
> The "pruned" line basically means that we are deleting that ref, and
> then we complain immediately about that very ref (which is probably
> pointing to the null sha1 or something at this point). We tend to cache
> packed refs, so that may be the cause.
Actually, it force updated two refs, created one, and deleted one, and
then immediately complained about the force-updated refs - but only
after moving on into the next remote update. My best guess would
still be that as you suggest there's an out of date cache - it gets
updated within the "update steph" part, but when it moves on to
"update kevin" it doesn't have all the new information.
> So either we need to invalidate that ref from the cache when it gets
> deleted, or perhaps we are already invalidating it and we need to be
> respecting that invalidation in other parts of the code. I'll take a
> look.
>
> -Peff
>
next prev parent reply other threads:[~2009-10-27 16:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 22:08 git update --prune issue Jeffrey Middleton
2009-10-27 8:42 ` Michael J Gruber
2009-10-27 15:07 ` Jeffrey Middleton
2009-10-27 16:29 ` Jeff King
2009-10-27 16:39 ` Jeffrey Middleton [this message]
2009-10-27 16:40 ` Clemens Buchacher
2009-10-27 16:50 ` Jeff King
2009-10-27 18:46 ` Jeff King
2009-10-27 23:30 ` Björn Steinbrink
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=4389ce950910270939u10fff402l6e9a5333913d7a74@mail.gmail.com \
--to=jefromi@gmail.com \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/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).