From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Move to git is imminent - awaiting Stefan's approval Date: Tue, 07 Jan 2014 21:16:33 +0200 Message-ID: <83txdfr4a6.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1389122212 24487 80.91.229.3 (7 Jan 2014 19:16:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2014 19:16:52 +0000 (UTC) Cc: schwab@linux-m68k.org, emacs-devel@gnu.org To: Sven Axelsson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 20:16:59 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 1W0c93-0000iz-7e for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2014 20:16:57 +0100 Original-Received: from localhost ([::1]:42404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0c92-0008Iv-Qc for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2014 14:16:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0c8u-0008Io-OE for emacs-devel@gnu.org; Tue, 07 Jan 2014 14:16:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0c8o-0004m7-UV for emacs-devel@gnu.org; Tue, 07 Jan 2014 14:16:48 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:60333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0c8o-0004lf-M9 for emacs-devel@gnu.org; Tue, 07 Jan 2014 14:16:42 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MZ100B00OXIPF00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Tue, 07 Jan 2014 21:16:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZ100B2FPJSDMA0@a-mtaout22.012.net.il>; Tue, 07 Jan 2014 21:16:41 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:167661 Archived-At: > Date: Tue, 7 Jan 2014 20:07:06 +0100 > From: Sven Axelsson > Cc: emacs > > >> 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. Which was why I interpreted them to mean that gc runs repack. Stephen can now be pissed off by himself.