Re: Missing tags in my local stable git repo

From: Steven Rostedt
Date: Mon Dec 10 2012 - 16:42:24 EST


On Mon, 2012-12-10 at 13:08 -0800, Linus Torvalds wrote:

> I would almost suggest you make both my base tree and the stable tree
> be remotes, instead of necessarily mirroring my tree and then putting
> the stable tree on top of that. I think it's confusing to have a
> mirror but than in that same tree have an extra (non-mirror) remote,
> it sounds more logical to me to have two separate remotes.

I could make them both remotes. The "mirror" and fetching is more
historical than anything. I use to only have a clone of your tree, and
then when I started maintaining the stable-rt tree, I created the stable
mirror as well. My workflow with git changed between the two creations,
and what I have currently shows that.

>
> But yeah, you should always just be able to recreate things since
> whatever you do your alternates will never have any extra work in
> them, so you could just continue with your existing setup even though
> it sounds a bit iffy.

I may just keep my current setup. I'm now thinking that this breakage
was a side effect of a previous breakage due to the brown out I had a
while back. This is the same box that corrupted my linus.git tree that I
eventually just deleted and recreated. As the cron jobs that update the
repo (and the brown out, which caused my machine to reboot, happened
during the cron job), it could have affected my stable.git repo too.

This has been like this for a week or two, when I first noticed the
missing tags. I was just busy doing other things to ask about it.

Perhaps this has nothing to do with chained alternates and git gc going
crazy. It could have just been my linus.git tree getting corrupted, and
then the git gc run on my stable.git tree shortly after, and corrupting
that too. I don't reference the stable.git tree as often as I reference
the linus.git tree, thus, I didn't put the two corruptions together.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/