From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25702 invoked by alias); 10 Jan 2014 02:56:08 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 25689 invoked by uid 89); 10 Jan 2014 02:56:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 10 Jan 2014 02:56:04 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W1SGM-0003vR-BB for gdb@sourceware.org; Fri, 10 Jan 2014 03:55:58 +0100 Received: from 207-172-123-137.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com ([207.172.123.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jan 2014 03:55:58 +0100 Received: from naesten by 207-172-123-137.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jan 2014 03:55:58 +0100 To: gdb@sourceware.org From: Samuel Bronson Subject: Re: git is live Date: Fri, 10 Jan 2014 02:56:00 -0000 Message-ID: References: <877gd5iyaz.fsf@fleche.redhat.com> <5266CCDC.6090803@redhat.com> <87iowgalle.fsf@fleche.redhat.com> <52700B95.5060209@redhat.com> <87li1b7u4n.fsf@fleche.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00011.txt.bz2 Tom Tromey redhat.com> writes: > Cary> (Maybe a > git gc will clean things up, too.) > > Pedro> That's my expectation. > > It will but you will have to clear the reflog first for best results. > When doing the grafting stuff I did: > > git reflog expire --expire=now --all > git gc --prune=now --aggressive > > --aggressive takes a lot of time though. I don't think --aggressive does what you think it does. They tell me that using "git repack" with some flags (or even no flags) is nearly always preferable; see: http://metalinguist.wordpress.com/2007/12/06/the-woes-of-git-gc-aggressive-and-how-git-deltas-work/ (But of course you would certainly still want pruning to happen, but "git repack" can do that too; for example, try "git repack -a".) Also, it might (or might not) do even better if you trimmed out the "refs/original/" hierarchy you've got in there. (Which, admittedly, may not have been there when you posted this.)