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

Re: Proper Publishing of a Repository

From
Junio C Hamano <junkio@cox.net>
Date
Mar 22, 2006, 20:47 UTC
Message-ID
<7v3bha8awl.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1143059181.4527.162.camel@cashmere.sps.mot.com>
Jon Loeliger <jdl@freescale.com> writes:
Show 10 quoted lines
> On Wed, 2006-03-22 at 14:16, Timo Hirvonen wrote:
>> Jon Loeliger <jdl@freescale.com> wrote:
>>
>> > All this on the linux kernel over HTTP.
>> 
>> Use git:// protocol (git-daemon) if possible.  It is much faster.
>
> Trust me, if it were an option, I would.  It isn't.
>
> So, I think git-prune-packed was the answer here...

It really depends on who your audiences are. By packing everything in a single pack, you are optimizing for the initial cloners but punishing incremental updaters.

Since your tree is derived from Linus tree, anybody who is interested in your tree is very likely nterested in Linus tree and chances are that she has a recent copy of it locally. In such a case, I would not be surprised if:

	$ git clone -l -s -n /local-linux-2.6.git/ jdl-linux.git
        $ cd jdl-linux.git
        $ git fetch http://jdl.com/jdl-linux.git master:refs/heads/jdl

goes a lot faster if you have loose objects around in the repository.

Previous: Jon Loeliger
Message 4 of 4 in “Proper Publishing of a Repository”
  1. Jon LoeligerMar 22, 2006
  2. Timo HirvonenMar 22, 2006
  3. Jon LoeligerMar 22, 2006
  4. Junio C HamanoMar 22, 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.