git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
To: Andy Parkins <andyparkins@gmail.com>
Cc: git@vger.kernel.org, bob <kranki@mac.com>
Subject: Re: Centralized repository
Date: Sun, 25 Feb 2007 16:50:11 +0100	[thread overview]
Message-ID: <200702251650.13381.robin.rosenberg.lists@dewire.com> (raw)
In-Reply-To: <200702250951.37867.andyparkins@gmail.com>

söndag 25 februari 2007 10:51 skrev Andy Parkins:
> 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

  reply	other threads:[~2007-02-25 17:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-25  2:14 Centralized repository bob
2007-02-25  6:04 ` Jeff King
2007-02-25  9:51 ` Andy Parkins
2007-02-25 15:50   ` Robin Rosenberg [this message]
2007-02-25 21:08 ` Martin Waitz
  -- strict thread matches above, loose matches on Subject: below --
2007-02-28 18:33 bob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200702251650.13381.robin.rosenberg.lists@dewire.com \
    --to=robin.rosenberg.lists@dewire.com \
    --cc=andyparkins@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=kranki@mac.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).