From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Axelsson Newsgroups: gmane.emacs.devel Subject: Re: Move to git is imminent - awaiting Stefan's approval Date: Tue, 7 Jan 2014 20:07:06 +0100 Message-ID: References: <52CB2AB0.4080505@alice.it> <877gachfza.fsf@igel.home> <52CBD5CC.4020804@alice.it> <8761pvvoq1.fsf@rosalinde.fritz.box> <83d2k3sqqz.fsf@gnu.org> <52CC2D45.1000908@alice.it> <83a9f7sosr.fsf@gnu.org> <87eh4joek3.fsf@zigzag.favinet> <8761pvbpdb.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1389121645 17570 80.91.229.3 (7 Jan 2014 19:07:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2014 19:07:25 +0000 (UTC) Cc: emacs To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 20:07:32 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W0bzr-0004OX-K4 for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2014 20:07:27 +0100 Original-Received: from localhost ([::1]:42345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0bzr-000462-0C for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2014 14:07:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0bzZ-0003iO-4J for emacs-devel@gnu.org; Tue, 07 Jan 2014 14:07:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0bzY-0001e1-1R for emacs-devel@gnu.org; Tue, 07 Jan 2014 14:07:09 -0500 Original-Received: from mail-vb0-x22c.google.com ([2607:f8b0:400c:c02::22c]:46709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0bzX-0001dj-Rw for emacs-devel@gnu.org; Tue, 07 Jan 2014 14:07:07 -0500 Original-Received: by mail-vb0-f44.google.com with SMTP id x8so421906vbf.17 for ; Tue, 07 Jan 2014 11:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VtUywmYkYdOjgnL9wsfrXvOf4cbZoxsUFDd/7MAZev0=; b=mn+mOnBVqE/v04UtlrUcOg3DJLi3ESXyxDio50bpyn4T0NdNQ39A5h7WJJSZfOnoYf NZ+wGvSdmJOmRuWyEenT/MRIBi+4LjdB5Lk3SUvJe52qL5zsHX4XZluR0osjGG+eeQUH 4ZYaOQImvgVQPpWEHqhrCCwTE6Yk9354zReh1lzuwfQCadLXjTPFFluLw/1b2f7v0ViI 4wXX+10VDSXsArF7gF6ZwJx5dYWoSFm19ZM2mJeykIORsg44FafL7bcXFh/OcPWMj/y1 LqVrrdSgVyi3wIbTwhg57VDi2Z1mwwDJOTMO5vXy3LPFLV5+2bavTESEhHbovfBK18Qj 2Igg== X-Received: by 10.58.108.196 with SMTP id hm4mr4820547veb.28.1389121626623; Tue, 07 Jan 2014 11:07:06 -0800 (PST) Original-Received: by 10.58.217.230 with HTTP; Tue, 7 Jan 2014 11:07:06 -0800 (PST) In-Reply-To: <8761pvbpdb.fsf@igel.home> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c02::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:167657 Archived-At: On 7 January 2014 19:47, Andreas Schwab wrote: > Sven Axelsson writes: > >> Using `git repack -a -d -f --window=250 --depth=250` as mentioned >> earlier in the conversation brings the .git folder down to 211 Mb for >> me. > > That's basically what git gc --aggressive does. Looking at the source for git-gc I see that you are indeed correct. Specifically, `git gc --aggressive` will run `git repack -d -l -f --depth=250 --window=250`, among other things. Maybe this setting is more appropriate: using the -a flag can give a better pack, but may cause extra network traffic when fetching the repo over a dumb protocol. All this can be found in tha man pages. -- Sven Axelsson ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++ >++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<. +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.