From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Move to git is imminent - awaiting Stefan's approval Date: Wed, 08 Jan 2014 03:49:24 +0900 Message-ID: <87ob3nhbkb.fsf@uwakimon.sk.tsukuba.ac.jp> 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> <87siszhfil.fsf@uwakimon.sk.tsukuba.ac.jp> <834n5fsm4y.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1389120583 4559 80.91.229.3 (7 Jan 2014 18:49:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2014 18:49:43 +0000 (UTC) Cc: schwab@suse.de, Eli Zaretskii , stephen.berman@gmx.net, emacs , angelo.graziosi@alice.it To: Sven Axelsson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 19:49:48 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 1W0bik-0007e7-P1 for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2014 19:49:46 +0100 Original-Received: from localhost ([::1]:42284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0bik-0006Li-E7 for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2014 13:49:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0bic-0006Kf-UQ for emacs-devel@gnu.org; Tue, 07 Jan 2014 13:49:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0biX-0004FO-Q6 for emacs-devel@gnu.org; Tue, 07 Jan 2014 13:49:38 -0500 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:50668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0biS-0004DI-1d; Tue, 07 Jan 2014 13:49:28 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 238BE9708DB; Wed, 8 Jan 2014 03:49:25 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 149531A2879; Wed, 8 Jan 2014 03:49:25 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta34) "kale" 2a0f42961ed4 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.224 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:167653 Archived-At: Sven Axelsson writes: > On 7 January 2014 19:05, Eli Zaretskii wrote: > >> From: "Stephen J. Turnbull" > >> git-gc does not necessarily repack existing packs according to the > >> doc. > >> > >> Try git-repack. > > > > I thought "git gc" runs git-repack, no? It kinda pisses me off that you complain about the excessive detail of git documentation, and then ask others to tell you about the details you could read in the documentation. > No. git-repack is often a very expensive operation, so it is never > run automatically, which git-gc can be. Specifically, according to the help, git-gc removes garbage (in the usual sense of a tracing collector) and "compresses" (ie, packs) loose objects using delta compression (and then the result is deflated as with loose objects, I believe). It will repack the packs into *one* pack (presumably with better delta compression) if the number of packs is greater than the value of gc.autopacklimit (in .git/config; default: 50).