Subject: Re: stgit: deleting a branch doesn't seem to work

From: Catalin Marinas <[email-masked]>
Date: Tue, 22 Aug 2006 09:34:25 +0100

"Torgil Svensson" <[email-masked]> wrote:
> I have three branches and want my "gst10" to be "master" instead
>
> $ stg branch --delete master
> Deleting branch "master"... done
> $ stg branch -l
> Available branches:
>   s     gst10   |
>         master  |
>>       origin  |
> $ stg branch --delete master
> Deleting branch "master"... done
> $ stg branch -r gst10 master
> stg branch: Branch "master" already exists
>
> Is there something i'm missing in my logic?

It's not actually documented but it looks like the master branch is
not completely deleted by StGIT. If you have StGIT-managed patches in
"master", they are removed but the GIT branch is kept as this is
usually the default branch.

You could do a "git branch -d master" but maybe I should change StGIT
to fully delete the "master" branch as well.

-- 
Catalin