From: Brandon Casey Date: Mon, 15 Dec 2008 17:11:44 GMT Subject: Re: "git gc" doesn't seem to remove loose objects any more Message-ID: In-Reply-To: <20081215155610.GA11502@mit.edu> Theodore Tso wrote: > I've > often wished for a --yes-I-know-what-I-am-doing-and-it's-unsafe-but- > just-drop-the-unreachable-objects-cause-this-is-just-a-tracking-repository > option to "git gc". repack -a -d -l Notice the lowercase 'a'. git-gc calls repack with uppercase 'A' which is what causes the unreachable objects to be unpacked. Little 'a', is for people who know what they are doing, and want git to just drop unreachable objects. -brandon