From: Andreas Krey Subject: Re: Big repo not shrinking on repack or gc? Date: Thu, 15 Jan 2015 08:43:34 +0100 Message-ID: <20150115074334.GJ13247@inner.h.apk.li> References: <20150114115130.GA5677@inner.h.apk.li> <20150114124936.GC30383@peff.net> <20150114143946.GE13247@inner.h.apk.li> <20150115063806.GH13247@inner.h.apk.li> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Junio C Hamano , Jeff King , Git Users To: Bryan Turner X-From: git-owner@vger.kernel.org Thu Jan 15 08:43:53 2015 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YBf5t-0002xD-5x for gcvg-git-2@plane.gmane.org; Thu, 15 Jan 2015 08:43:53 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751573AbbAOHns (ORCPT ); Thu, 15 Jan 2015 02:43:48 -0500 Received: from continuum.iocl.org ([217.140.74.2]:56764 "EHLO continuum.iocl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751416AbbAOHns (ORCPT ); Thu, 15 Jan 2015 02:43:48 -0500 Received: (from krey@localhost) by continuum.iocl.org (8.11.3/8.9.3) id t0F7hZC12604; Thu, 15 Jan 2015 08:43:35 +0100 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-message-flag: What did you expect to see here? Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Thu, 15 Jan 2015 18:05:46 +0000, Bryan Turner wrote: ... > No, Stash will only do that in a repository which has been forked. In > any non-forked repository, Stash does not interact with garbage > collection in any way. Auto GC is left enabled, and all pruning > settings are left at their defaults. The default pruning interval is > two weeks, so if your development approach is rebase-heavy you may > need to adjust them. > > What are the contents of some of those .keep files? If they're written > by Stash they contain a message saying so. ("GENERATED BY ATLASSIAN > STASH - DO NOT REMOVE") They do. So it seems it was forked once upon a time, but... /opt/apps/atlassian/stash-data/shared/data/repositories $ grep '' */objects/info/alternates 158/objects/info/alternates:/data/opt_apps/atlassian/stash-data/shared/data/repositories/20/objects 45/objects/info/alternates:/data/opt_apps/atlassian/stash-data/shared/data/repositories/33/objects 93/objects/info/alternates:/data/opt_apps/atlassian/stash-data/shared/data/repositories/91/objects ...there is no trace of a fork still existing (the repo in question is 143). Andreas -- "Totally trivial. Famous last words." From: Linus Torvalds Date: Fri, 22 Jan 2010 07:29:21 -0800