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

2 messages, 2 authors, 2016-08-11 · open the first message on its own page

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

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2016-08-11 20:20:29

Jakub Narebski [off-list ref] wrote:
Catalin Marinas wrote:
quoted
I've never thought anyone would see a different meaing for the
"branch" command. What you wanted to do was the reverse of the "init"
command. Maybe something like "uninit" or a "--uninit" option to
"branch".
Yes, that is what I wanted. "stg branch --unmanage" or something
like that.
I'll put it on my to-do list.
By the way, why "stg branch --delete" doesn't remove reflog? Not that I'm
complaining, because it sure saved some work when resurrecting branch, and
I didn't loose reflog info.
Reflogs came into GIT after the StGIT branch command and never looked
at them in detail. And maybe it should not touch the reflog info,
especially for situations like this, unless GIT has a mechanism for a
trash bin (StGIT has one for patches - .git/patches/<branch>/trash/ -
but undocumented)

-- 

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

From: Jakub Narebski <hidden>
Date: 2016-08-11 19:55:46

Catalin Marinas wrote:
Jakub Narebski [off-list ref] wrote:
quoted
By the way, why "stg branch --delete" doesn't remove reflog? Not that I'm
complaining, because it sure saved some work when resurrecting branch, and
I didn't loose reflog info.
Reflogs came into GIT after the StGIT branch command and never looked
at them in detail. And maybe it should not touch the reflog info,
especially for situations like this, unless GIT has a mechanism for a
trash bin (StGIT has one for patches - .git/patches/<branch>/trash/ -
but undocumented)
Well, I'm asking because "git branch -D" deletes also reflog. So I'm
worrying if StGit works with packed refs (although one usually do not
pack branches/heads, only tags).
-- 
Jakub Narebski
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help