Re: [BUG] StGit removed git branch of the same name as StGit branch
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 20, 2006, 21:08 UTC
- Message-ID
- <7vbqn125db.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200611202201.45521.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
Show 9 quoted lines
> 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.