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

Re: Problem cloning the Linux history tree

From
Petr Baudis <pasky@suse.cz>
Date
Nov 4, 2005, 09:26 UTC
Message-ID
<20051104092626.GL1431@pasky.or.cz>
In-Reply-To
<20051104092146.E5E35353C33@atlas.denx.de>

Dear diary, on Fri, Nov 04, 2005 at 10:21:46AM CET, I got a letter where Wolfgang Denk <wd@denx.de> told me that...

Show 40 quoted lines
> In message <7vmzkl3yl0.fsf@assigned-by-dhcp.cox.net> you wrote:
> > 
> > > # cg-clone http://www.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
> > > defaulting to local storage area
> > > 09:53:02 URL:http://www.kernel.org/pub/scm/linux/kernel/git/tglx/history.git/HEAD [41/41] -> "refs/heads/.origin-fetching" [1]
> ...
> > That repository is packed but lacks objects/info/packs file.
> > Perhaps you need to ask tglx to run git-update-server-info in
> > the repository.
> 
> I have the same (or a very similar) problem with our Linux repo:
> 
> -> cg-clone http://www.denx.de/git/linux-2.6-denx.git foo
> ...
> defaulting to local storage area
> 09:54:53 URL:http://www.denx.de/git/linux-2.6-denx.git/HEAD [41/41] -> "refs/heads/.origin-fetching" [1]
> Getting alternates list
> Getting pack list
> Getting index for pack eceba3479417b338c2e156b1c6dfd69f3f0eaad1
> Getting index for pack b3c6fbdfa36a326815de6358885c7a570a986b1b
> Getting index for pack 6122f3ffa476a089122c0bffbbb7a7ce31304b56
> Getting index for pack 06949712bb970fc1dd2e13f50accdcd2bf992536
> Getting index for pack 459148e2ea863c15479d69ed4886a6f200c79a49
> Getting pack 459148e2ea863c15479d69ed4886a6f200c79a49
> which contains 010a4c0059a82b834b4d7f65d5cdd4a9717d8ea7
> progress: 3 objects, 0 bytes
> Getting pack 06949712bb970fc1dd2e13f50accdcd2bf992536
> which contains 5014bfa48ac169e0748e1e9651897788feb306dc
> progress: 12210 objects, 0 bytes
> 09:58:42 ERROR 404: Not Found.
> 09:58:42 URL:http://www.denx.de/git/linux-2.6-denx.git/refs/tags/DENX-2005-10-02-18:30 [41/41] -> "refs/tags/DENX-2005-10-02-18:30" [1]
> ...
> 09:58:43 URL:http://www.denx.de/git/linux-2.6-denx.git/refs/tags/v2.6.14-rc5 [41/41] -> "refs/tags/v2.6.14-rc5" [1]
> FINISHED --09:58:43--
> Downloaded: 19,240 bytes in 30 files
> Missing object of tag v2.6.14-rc3... unable to retrieve
> New branch: 010a4c0059a82b834b4d7f65d5cdd4a9717d8ea7
> Cloned to foo/ (origin http://www.denx.de/git/linux-2.6-denx.git available as branch "origin")
> 
> And I did run git-update-server-info, even with --force.
And what exactly is the problem? It seemed to clone ok.
> In the server log I see messages like these:
> 
> [Fri Nov 04 09:54:52 2005] [error] [client 84.150.96.170] File does not exist: /srv/git/linux-2.6-denx.git/objects/01
..snip..
> [Fri Nov 04 09:55:13 2005] [error] [client 84.150.96.170] File does not exist: /srv/git/linux-2.6-denx.git/objects/bc

The fetching code first tries to look into the unpacked object store (that are those errors) and if that fails, it grabs a pack.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Wolfgang DenkNext: Wolfgang Denk
Message 4 of 11 in “Problem cloning the Linux history tree”
  1. Marcel HoltmannNov 3, 2005
  2. Junio C HamanoNov 4, 2005
  3. Wolfgang DenkNov 4, 2005
  4. Petr BaudisNov 4, 2005
  5. Wolfgang DenkNov 4, 2005
  6. Junio C HamanoNov 4, 2005
  7. Junio C HamanoNov 4, 2005
  8. Wolfgang DenkNov 4, 2005
  9. Marcel HoltmannNov 4, 2005
  10. Thomas GleixnerNov 7, 2005
  11. Marcel HoltmannNov 7, 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.