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

Re: Centralized repository

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Feb 25, 2007, 15:50 UTC
Message-ID
<200702251650.13381.robin.rosenberg.lists@dewire.com>
In-Reply-To
<200702250951.37867.andyparkins@gmail.com>
söndag 25 februari 2007 10:51 skrev Andy Parkins:
Show 14 quoted lines
> On Sunday 2007, February 25, bob wrote:
> 
> > Anyway, for this one repository, I would really like GIT to support
> > the CVS/SVN central repository system.  The rest of the time, I am
> 
> In the case of subversion: you really /wouldn't/ want that model.  
> Subversion keeps a local pristine copy in the .svn directory of every 
> file.  This makes local diffs and stats fast and not require network 
> access, but also doubles the storage requirements of your working 
> directory.
> 
> I've found that a packed git repository is often smaller than a full 
> checkout of the project (it's almost scary actually - your entire 
> project's history in less space than the project).

That doesn't apply to a repo full of (already compressed) binaries media files. You cannot pack them unless the binaries are so small that the wasted space at the end of the last disk block is a significant amount of the total used. You cannot diff them either, other than seeing that they are different.

Besides the 4 GB mentioned isn't much nowadays. If it is annoying to have the .git directory in the same filesystem tree you can place the .git directory somewhere else and drop a symbolic link in it's place.

Btw, is it possible to make a full repo shallow again, by pruning the "uninteresting" part of the history? That would make it possible to trim down the size of the local archive.

-- robin
Previous: Andy ParkinsNext: Martin Waitz
Message 4 of 5 in “Centralized repository”
  1. bobFeb 25, 2007
  2. Jeff KingFeb 25, 2007
  3. Andy ParkinsFeb 25, 2007
  4. Robin RosenbergFeb 25, 2007
  5. Martin WaitzFeb 25, 2007

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.