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

Re: [RFC] git-clone should create packed refs

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 15, 2008, 00:53 UTC
Message-ID
<alpine.LSU.1.00.0802150051320.30505@racer.site>
In-Reply-To
<200802150133.19247.johan@herland.net>
Hi,
On Fri, 15 Feb 2008, Johan Herland wrote:
> when git-clone is cloning repos with thousands of refs, it makes sense 
> to create a packed-refs file directly in the clone, instead of having to 
> run "git pack-refs" (or "git gc") afterwards to (re)pack the refs.

Sure, and it's easy, too. The format of the packed-refs file is exactly the same as the output of "git ls-remote <origin>".

Ciao, Dscho

Previous: Johan HerlandNext: Johan Herland
Message 2 of 3 in “[RFC] git-clone should create packed refs”
  1. Johan HerlandFeb 15, 2008
  2. Johannes SchindelinFeb 15, 2008
  3. Johan HerlandFeb 15, 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.