Re: git-repack not removing files from $GIT_DIR/objects/[00-ff]
- From
Jeff King <peff@peff.net>
- Date
- Jul 17, 2006, 03:26 UTC
- Message-ID
- <20060717032623.GA32406@coredump.intra.peff.net>
- In-Reply-To
- <5A14AF34CFF8AD44A44891F7C9FF410507E43005@usahm236.amer.corp.eds.com>
On Sun, Jul 16, 2006 at 08:44:52PM -0400, Post, Mark K wrote:
Show 5 quoted lines
> I'm having a problem that just started occurring with git-repack not > removing the files from $GIT_DIR/objects/*, and therefore not removing > the directories, since they're not empty. The command I'm using (as the > git user) is this: > GIT_DIR=/home/git/pub/scm/linux-2.6.git git-repack -a -d -l
git-prune-packed (which, contrary to what Shawn said, is run by git-repack -d) will only remove objects which are redundant because of their presence in packs. It will not remove objects which are not reachable (which is normal if you have, for example, done a rebase in this repository). Check out git-prune and git-fsck-objects.
-Peff