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

git clone downloads objects that are in GIT_OBJECT_DIRECTORY

From
BLBenjamin LaHaise <bcrl@kvack.org>
Date
Mar 6, 2006, 01:08 UTC
Message-ID
<20060306010825.GF20768@kvack.org>
Hi folks,

Doing a fresh git clone git://some.git.url/ foo seems to download the entire remote repository even if all the objects are already stored in GIT_OBJECT_DIRECTORY=/home/bcrl/.git/object . Is this a known bug? At 100MB for a kernel, this takes a *long* time.

		-ben (who needed to free up disk space)
-- 
"Time is of no importance, Mr. President, only life is important."
Don't Email: <dont@kvack.org>.
Next: Shawn Pearce
Message 1 of 6 in “git clone downloads objects that are in GIT_OBJECT_DIRECTORY”
  1. Benjamin LaHaiseMar 6, 2006
  2. Shawn PearceMar 6, 2006
  3. Junio C HamanoMar 6, 2006
  4. Shawn PearceMar 6, 2006
  5. seanMar 6, 2006
  6. Johannes SchindelinMar 6, 2006

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.