From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32524 invoked by alias); 29 Oct 2013 19:25:18 -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 32502 invoked by uid 89); 29 Oct 2013 19:25:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 29 Oct 2013 19:25:17 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r9TJPBKo011568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 29 Oct 2013 15:25:12 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r9TJPAkk027234; Tue, 29 Oct 2013 15:25:10 -0400 Message-ID: <52700B95.5060209@redhat.com> Date: Tue, 29 Oct 2013 19:25:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Cary Coutant CC: Tom Tromey , GDB Development , Binutils Development Subject: Re: git is live References: <877gd5iyaz.fsf@fleche.redhat.com> <5266CCDC.6090803@redhat.com> <87iowgalle.fsf@fleche.redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-10/txt/msg00185.txt.bz2 On 10/29/2013 06:12 PM, Cary Coutant wrote: > I'm not sure how much I've bloated my repo just from fetching the one > branch -- presumably it's not a lot, since the content store is based > on hashes, but I might reclone and compare sizes just to see. ... > (Maybe a > git gc will clean things up, too.) That's my expectation. Note you can list branches you might have still based on the old git cvs mirror repo with e.g.,: $ git branch --contains 14cd51f7793a9ce07bc435069f57269450141363 That's the hash of the initial commit in the old git cvs mirror. (myself, I've put that in a 'git-gdb-old-branches' script for convenience.) Do: $ git branch -a --contains 14cd51f7793a9ce07bc435069f57269450141363 to include remote branches in the query. Once that gives the empty set, garbage collection should be able to shrink your repo. I have remotes pointing to other people's random repos based off the git/cvs mirror out there, so I expect it'll be a long while before that'll ever happen for me. But I'm really not worried about that myself. -- Pedro Alves