burly.el icon indicating copy to clipboard operation
burly.el copied to clipboard

Make burly-tabs-mode magit branch aware

Open ParetoOptimalDev opened this issue 2 years ago • 2 comments

If I call burly-bookmark-windows and magit has checked out a certain branch or worktree I'd like it to restore that.

I'm open to the argument burly should only restore worktrees so bookmarks never clobber, but I bet branches would probably be fine.

Maybe this is more appropriate as a seperate package? If not, I'd be happy to try to implement this and send a PR.

ParetoOptimalDev avatar Jun 30 '22 15:06 ParetoOptimalDev

That's an interesting idea, but it's well out of Burly's scope. Burly restores windows and frames.

alphapapa avatar Jul 01 '22 06:07 alphapapa

More specifically, this sounds like a matter of bookmarking magit-status buffers to certain branches, which is also outside of Burly's scope. You could accomplish something like this already by checking out a branch into a worktree and bookmarking that worktree's status buffer.

alphapapa avatar Jul 01 '22 08:07 alphapapa