On 08/11/2007, Karl Hasselström [off-list ref] wrote:
On 2007-11-07 11:11:42 -0500, Jon Smirl wrote:
quoted
how about a 'stg gc' command that gets rid of all the inaccessible
clutter?
"stg assimilate" already has the job of fixing up stuff after the user
has used git commands to move HEAD around. I think it would make sense
to teach it to do this too -- and then rename it "stg repair" or
something. That way, there's one command to fix every kind of "damage"
that git can do to stgit.
"repair" sounds better than "gc" (which might also be confused with
the "git gc" command).
Alternatively, "stg branch --create" and "stg init" and whoever else
is bothered by the clutter could simply remove it themselves. That
would be even more user-friendly, I guess.
I did some fixes for branch --delete but, since I use StGIT almost
exclusively, haven't thought that we need to relax the branch creation
as well.
--
Catalin