Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

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

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2016-06-15 22:42:37

"Torgil Svensson" [off-list ref] 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  |
quoted
      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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help