git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: stgit: cleaning up after using git branch delete commands

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Nov 8, 2007, 09:18 UTC
Message-ID
<b0943d9e0711080118q47441844hc25758f733e9af65@mail.gmail.com>
In-Reply-To
<20071108055302.GA11230@diana.vm.bytemark.co.uk>
On 08/11/2007, Karl Hasselström <kha@treskal.com> wrote:
Show 10 quoted lines
> 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.

"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
Previous: Karl Hasselström
Message 5 of 5 in “stgit: cleaning up after using git branch delete commands”
  1. Jon SmirlNov 7, 2007
  2. Catalin MarinasNov 7, 2007
  3. Jon SmirlNov 7, 2007
  4. Karl HasselströmNov 8, 2007
  5. Catalin MarinasNov 8, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.