Re: stgit: cleaning up after using git branch delete commands
- From
Karl Hasselström <kha@treskal.com>
- Date
- Nov 8, 2007, 05:53 UTC
- Message-ID
- <20071108055302.GA11230@diana.vm.bytemark.co.uk>
- In-Reply-To
- <9e4733910711070811y72f96a90i4db9acdf93aa765c@mail.gmail.com>
On 2007-11-07 11:11:42 -0500, Jon Smirl wrote:
> 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.
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.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle