threads / discuss / 1157

Where'd my GIT tree go?

Subject: Where'd my GIT tree go?

## tl;dr

4 messages between Jul 7, 2005 and Jul 7, 2005.

replies: 3people: 3as markdown or json

Tony Luck· Jul 7, 2005, 03:23 UTC · lore

http://www.kernel.org/git has stopped showing my linux-2.6 tree (the "to Linus" one, my "test-2.6" tree is still there).

This is probably my fault ... but I'm not sure exactly why.

Here's what I did. Last Thursday I applied a set of patches ... and my "apply" script choked on one of them. Some casual inspection convinced me that the changes had been applied, and I pushed the tree up to kernel.org.

But I was wrong, the 2nd out od a series of six was all messed up. And I'd applied a couple more patches on top of that. Since none of this had been pulled by Linus, I thought I'd clean it up and apologise to anyone who had pulled from my tree.

So I backed HEAD up to the last good commit. Re-applied the changes with a fixed version of the script, and then expected to find some detritus from the first application in .git/objects. But "git-fsck-cache --unreachable ..." only complained about the 2.6.11 tag/tree. Odd.

Then I pushed up to master.kernel.org ... and an hour later when the mirrors did their thing, git-web stopped showing my tree.

HEAD is still a symlink to refs/heads/master. And that has the SHA1 of my most recent commit ... which is present in .git/objects.

So what's wrong???
-Tony
Tony Luck· Jul 7, 2005, 04:48 UTC · re: Jon Seymour · lore

Re: Where'd my GIT tree go?

On 7/6/05, Jon Seymour <jon.seymour@gmail.com> wrote:
Show 7 quoted lines
> Ok, you asked for it:
> 
> ...the GIT bucket.
> 
> jon.
> 
> ... ducks for cover ...
Groan ... as well you should.
My tree has re-appeared now.  Thanks to whoever fixed it.
-Tony
Thomas Gleixner· Jul 7, 2005, 20:48 UTC · re: Tony Luck · lore

Re: Where'd my GIT tree go?

On Wed, 2005-07-06 at 21:48 -0700, Tony Luck wrote:
> Groan ... as well you should.
> 
> My tree has re-appeared now.  Thanks to whoever fixed it.

I noticed similar effects recently. Its related to the mirroring of master.kernel.org to the public server. At some point you have only the half of updates at the public site and obviously the git webscript refuses to show your tree when HEAD is updated, but the referenced commit blob is missing.

I guess that the mirroring is not aware of the update order (objects first, HEAD last) which would prevent such oddities.

tglx

← back to recent threads