git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: kernel.org git tree corrupt?

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Mar 2, 2008, 21:40 UTC
Message-ID
<46a038f90803021340uf1c9c6te5501d9fb0565f19@mail.gmail.com>
In-Reply-To
<alpine.LFD.1.00.0803021302070.17889@woody.linux-foundation.org>

On Mon, Mar 3, 2008 at 10:16 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote:

>  In that case, your "origin" simply isn't updated, but points somewhere
>  long back in history. I can only assume that cogito has done something
>  wrong, like not been able to handle packed refs or something, and you have
>  an updated tree but "origin" pointing to way back in the history.

Strange - cogito over git protocol will use git itself to peek at the references. Steve, what is your git version?

>  > Ideas for another solution short of recloning and sorting through all
>  > of the last month or two of patches that affect this directory by
>  > hand?

Linus' plan assumes you have a .git/config file. I don't think a cogito-based checkout follows such modern conventions - here's an alternative plan:

 - make sure you have a current git
 - get a fresh clone of linux-2.6, and in there
    # tell it about your old checkout
    $ git remote add oldlinux /path/to/your/older/linux/checkout/.git
    $ git fetch oldlinux
    # visualise what's in there
    $ gitk origin/master oldlinux/master
    # you may want to merge your old branch
    $ git merge oldlinux/master
hth,
martin
Previous: Linus TorvaldsNext: Steve French
Message 3 of 7 in “kernel.org git tree corrupt?”
  1. Steve FrenchMar 2, 2008
  2. Linus TorvaldsMar 2, 2008
  3. Martin LanghoffMar 2, 2008
  4. Steve FrenchMar 2, 2008
  5. Steve FrenchMar 3, 2008
  6. Linus TorvaldsMar 3, 2008
  7. Steve FrenchMar 4, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.