Thread (1 message) 1 message, 1 author, 2016-08-11

Re: [BUG] StGit removed git branch of the same name as StGit branch

From: Junio C Hamano <hidden>
Date: 2016-08-11 19:29:51

Jakub Narebski [off-list ref] writes:
I have used StGit (wonderfull tool) to manage patches on git branch 
gitweb/web. Unfortunately, I have named stg branch the same as git 
branch. When removing stg branch (I wanted to remove 
heads/base/gitweb/web) using "stg branch --delete gitweb/web" it 
deleted also git branch when I wanted to remove only the StGit managed 
indicator. Fortunately I was able to recover the branch from reflog, as 
StGit didn't delete reflog with deletion of git branch.

Perhaps that is correct behavior... but certainly unexpected.
I am also a novice who recently started appreciating the
convenience of StGIT.  I _think_ the usage StGIT expect us to
follow is to run "stg clean" to make the series empty, and not
worry about leftover refs/bases/ at all, but I may well be
mistaken.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help