From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-science+bounces-811-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LbiH3-0005J5-54 for garchives@archives.gentoo.org; Mon, 23 Feb 2009 21:23:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D49FE04A1; Mon, 23 Feb 2009 21:23:35 +0000 (UTC) Received: from mail-bw0-f157.google.com (mail-bw0-f157.google.com [209.85.218.157]) by pigeon.gentoo.org (Postfix) with ESMTP id DB858E04A1 for <gentoo-science@lists.gentoo.org>; Mon, 23 Feb 2009 21:23:34 +0000 (UTC) Received: by bwz1 with SMTP id 1so5142419bwz.10 for <gentoo-science@lists.gentoo.org>; Mon, 23 Feb 2009 13:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=n1lbxYaa/+56ptjLglAwyBh0C/0c0P9UbB7HCmhQE2c=; b=ge2SP8qANzcHRoZ3MhcJ+ULAV81yIg7/Wh8vDJUHDbWtPWQ6w5Dp6/r9/d3C/HsycL VbG9b7da79NUCBMJiZNpZwmEFP/pzoan8TS4F/j61mm4H1dcXMTK5yVzJYBKjErhoaT2 7CoE9ypcpFBrEn/fEQcwQdAsanovUx04rlE8s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Yw2SwBFRH+Dc/iJLaIzVHMV1m2TsTO/NEI9ymjcw4201Ut0/romA8xc8YEJxolevmy N6IDpX8oOLaa0KlwssfHZeBS59/o+s2FUV78IDprKTKx2+ZIn+bLMpw5JwOvsB3UkOyT gbCR7QnabZK7ozu0uY3JEBkBXG+L3j0LIm4fc= Precedence: bulk List-Post: <mailto:gentoo-science@lists.gentoo.org> List-Help: <mailto:gentoo-science+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-science+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-science+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-science.gentoo.org> X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Received: by 10.181.214.8 with SMTP id r8mr1653504bkq.206.1235424214113; Mon, 23 Feb 2009 13:23:34 -0800 (PST) In-Reply-To: <49A30ECE.8010909@j-schmitz.net> References: <alpine.LRH.1.10.0902202000550.3272@star.inp.nsk.su> <20090223090855.76aac1b2@gentoo.org> <200902231318.25035.alexxy@gentoo.org> <49A2978A.40301@j-schmitz.net> <49A2E2B7.50107@j-schmitz.net> <1bd893420902231151m3e74e5bdpdefdb51d03a97918@mail.gmail.com> <49A303A4.2010708@j-schmitz.net> <1bd893420902231252v4637357dp96a2cf3e57aaae39@mail.gmail.com> <49A30D67.80304@j-schmitz.net> <49A30ECE.8010909@j-schmitz.net> Date: Mon, 23 Feb 2009 22:23:34 +0100 Message-ID: <1bd893420902231323j5b16ae9aqff1023ce15880973@mail.gmail.com> Subject: Re: [gentoo-science] Re: overlay move to git From: Henry Gebhardt <hsggebhardt@googlemail.com> To: gentoo-science@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: cbd1a670-d57a-40d8-8d8f-a2ed971c2f12 X-Archives-Hash: cbeaa90fa6ee3ca4e6553889880d2863 On Mon, Feb 23, 2009 at 10:02 PM, Justin <justin@j-schmitz.net> wrote: > Justin schrieb: >> Henry Gebhardt schrieb: >>> On Mon, Feb 23, 2009 at 9:14 PM, Justin <justin@j-schmitz.net> wrote: >>>> Henry Gebhardt schrieb: >>>>> On Mon, Feb 23, 2009 at 6:53 PM, Justin <justin@j-schmitz.net> wrote: >>>>>> Justin schrieb: >>>>> (...) >>>>>> But I hit some bad thing, I am working alot with branches and noted that >>>>>> the .git dir growths and growths, although I removed the branches. Can >>>>>> I clean this up? >>>>> Yes! Collect all the garbage with >>>>> >>>>> $ git gc >>>>> >>>>> ~Henry >>>>> >>>> but that doesn't really shrink the size. >>> That's weird. How big is it getting? (Mine is 4.1 MB) >>> >> 150mb adn it shrinked with git gc --agressive down to 120mb. Now that is indeed a bit excessive. >> >> What I did was pulling other overlays as branch, doing an filterbranch >> and only merging certain thing. perhaps this is something different than >> branching the repo itself. >> > and of course deleted the branches afterwards > Hm, I've never used git filter-branch before, but according to the manpage the original branches are still stored in .git/refs/original, so git gc wouldn't remove the objects they reference. Also, there might still be a reference in .git/refs/remotes. (Possibly $ git branch -a will show all of them to you (definitely the remote ones).) Hope that helps. ~Henry