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

Re: FW: Git pulls failing on ia64 test tree?

From
Junio C Hamano <junkio@cox.net>
Date
Sep 14, 2005, 17:47 UTC
Message-ID
<7vfys7lex4.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vk6hjlfxw.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 8 quoted lines
> As a workaround, please do this:
>
>     cd /pub/scm/linux/kernel/git/aegl/linux-2.6.git/
>     ln ../../torvalds/linux-2.6.git/objects/pack/* objects/pack/.
>     mv objects/info/alternates objects/info/alternates+
>     GIT_DIR=. git fetch ../../torvalds/linux-2.6.git/
>     GIT_DIR=. git fsck-objects
>     mv objects/info/alternates+ objects/info/alternates

Actually, please chuck the last step to re-enable alternates. Otherwise everytime Linus updates his repository you will be out of sync and will get hit by the same problem.

Show 8 quoted lines
> The 'git fetch' step would complain about a couple of commits
> you have but there is no need to worry -- we are deliberately
> "corrupting" your repository by temporarily moving alternates
> away so that it can fetch missing objects from Linus repository.
> The fsck-objects should then report no missing objects.
>
> Sorry for this very unpleasant experience git has caused you
> X-<.
Previous: Junio C Hamano
Message 4 of 4 in “FW: Git pulls failing on ia64 test tree?”
  1. Luck, TonySep 14, 2005
  2. Junio C HamanoSep 14, 2005
  3. Junio C HamanoSep 14, 2005
  4. Junio C HamanoSep 14, 2005

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.