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

Re: Cloning marks pack for .keep

From
TLTeemu Likonen <tlikonen@iki.fi>
Date
Jul 8, 2008, 06:57 UTC
Message-ID
<20080708065746.GA3536@mithlond.arda.local>
In-Reply-To
<20080708044606.GC2542@spearce.org>
Shawn O. Pearce wrote (2008-07-08 04:46 +0000):
Show 13 quoted lines
> Jean-Luc Herren <jlh@gmx.ch> wrote:
> > After cloning a local repository with "git clone file://...", the
> > resulting repo had one big pack file, as expected, but also
> > a matching ".keep" file.  Certainly this is a bug, isn't it?  The
> > same happens if I clone git.git.  I used git 1.5.6.1 but observed
> > the same with the current master.  I bisected this behavior to
> > commit fa740529 by Shawn O. Pearce (CC'ing him).  Since this dates
> > back to 2007, I wonder if maybe only I am seeing this, but I cannot
> > think of any reason for it.
> 
> This is a known issue to me; I have been seeing this behavior myself
> since probably fa74 hit next.  I just don't clone often so I've never
> thought about it much.  ;-)

Earlier I noticed that this issue sometimes causes the repository to grow pretty much after "git gc" because .keep packs are not touched. This was discussed two months ago:

http://thread.gmane.org/gmane.comp.version-control.git/81856

I tend to think that .keep packs are not good idea at least for small and medium sized repos. For _really_ big ones I'm not sure.

Previous: Shawn O. Pearce
Message 3 of 3 in “Cloning marks pack for .keep”
  1. Jean-Luc HerrenJul 7, 2008
  2. Shawn O. PearceJul 8, 2008
  3. Teemu LikonenJul 8, 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.