Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48456

on git gc --aggressive [was Re: Version Control Software]

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jason.swails@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'cpython': 0.05; 'assuming': 0.09; 'git': 0.09; 'mercurial': 0.09; 'read- only': 0.09; 'subject: [': 0.09; 'yeah,': 0.09; 'cc:addr:python- list': 0.11; 'big,': 0.16; 'cc:name:python list': 0.16; 'dvcs': 0.16; 'guessing': 0.16; 'hmm.': 0.16; 'rarely': 0.16; 'roy': 0.16; 'shallow': 0.16; 'used:': 0.16; '\xa0this': 0.16; 'files.': 0.16; 'sat,': 0.16; 'size,': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; '&gt;': 0.26; '15,': 0.26; 'push': 0.26; 'post': 0.26; 'gets': 0.27; 'idea': 0.28; 'chris': 0.29; 'am,': 0.29; 'patch': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'lot.': 0.31; 'url:06': 0.31; 'run': 0.32; 'cases': 0.33; 'problem.': 0.35; 'but': 0.35; 'received:google.com': 0.35; '(we': 0.36; 'skip:~ 10': 0.36; 'should': 0.36; 'jason': 0.38; 'subject:]': 0.38; 'skip:- 10': 0.38; 'pm,': 0.38; 'that,': 0.38; 'does': 0.39; 'bad': 0.39; 'url:12': 0.39; 'major': 0.40; 'how': 0.40; 'everybody': 0.60; 'most': 0.60; 'full': 0.61; 'to:addr:gmail.com': 0.65; 'smith': 0.68; 'bulk': 0.74; 'url:wordpress': 0.78; 'subject:Control': 0.84; 'url:2007': 0.84; 'rusi': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=ar6GNUsR63IS7WAxliXHUrRKJPWWOo/cajGolBPTCI4=; b=F5tjJ27nA4UiE5Rd0da3TLqTYzc8i73/vsZ64cjRqgXHMWpbHsV5WfQhDwqMKkC7kT ZVkQc8pVjL2+4YLdkAFpa2UOsdJ9mNGGsxU9ZD/zA02ZWM7/kiJPkEij5hPGcx7Sh+CX flqn2/3MG0qLbSJN3EtkRw4rf9DfZ4bqlMLJDPRqeEkKIQjVzyjUAk2nYV+7C4rYN6gZ Cqsi5wMRKY0MgKT/leO69Cxtxttp4TOdz64ibya/cOyiN42AFg1xsDd4s3vKwS5JNsLV Vaix9XErAE6fD99wK6vVsG04uZEGnFlY0p+2193BcF0aWlKQmWTTIa3nIahbUYHYqjUU 3mSg==
MIME-Version 1.0
X-Received by 10.50.44.8 with SMTP id a8mr2952607igm.88.1371391789479; Sun, 16 Jun 2013 07:09:49 -0700 (PDT)
Date Sun, 16 Jun 2013 10:09:49 -0400
Subject on git gc --aggressive [was Re: Version Control Software]
From Jason Swails <jason.swails@gmail.com>
To rusi <rustompmody@gmail.com>
Content-Type multipart/alternative; boundary=e89a8f64713575beb704df4608d2
Cc python list <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3444.1371391791.3114.python-list@python.org> (permalink)
Lines 95
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371391791 news.xs4all.nl 15917 [2001:888:2000:d::a6]:57045
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:48456

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Jun 15, 2013 at 11:55 PM, rusi <rustompmody@gmail.com> wrote:

> On Jun 16, 4:14 am, Chris Angelico <ros...@gmail.com> wrote:
> > On Sun, Jun 16, 2013 at 12:16 AM, Roy Smith <r...@panix.com> wrote:
> > > The advantage of DVCS is that everybody has a full copy of the repo.
> > > The disadvantage of the DVCS is that every MUST have a full copy of the
> > > repo.  When a repo gets big, you may not want to pull all of that data
> > > just to get the subtree you need.
> >
> > Yeah, and depending on size, that can be a major problem. While git
> > _will_ let you make a shallow clone, it won't let you push from that,
> > so it's good only for read-only repositories (we use git to manage
> > software deployments at work - shallow clones are perfect) or for
> > working with patch files.
> >
> > Hmm. ~/cpython/.hg is 200MB+, but ~/pike/.git is only 86MB. Does
> > Mercurial compress its content? A tar.gz of each comes down, but only
> > to ~170MB and ~75MB respectively, so I'm guessing the bulk of it is
> > already compressed. But 200MB for cpython seems like a lot.
>
> [I am assuming that you have run  "git gc --aggressive" before giving
> those figures]
>

Off-topic, but this is a bad idea in most cases.  This is a post including
an email from Torvalds proclaiming how and why git gc --aggressive is dumb
in 99% of cases and should rarely be used:

http://metalinguist.wordpress.com/2007/12/06/the-woes-of-git-gc-aggressive-and-how-git-deltas-work/

All the best,
Jason

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

on git gc --aggressive [was Re: Version Control Software] Jason Swails <jason.swails@gmail.com> - 2013-06-16 10:09 -0400
  Re: on git gc --aggressive [was Re: Version Control Software] rusi <rustompmody@gmail.com> - 2013-06-16 09:44 -0700

csiph-web