Sebastian Thiel
Sebastian Thiel
This should make for a test case, to see if the backend can handle this. ``` "worktreeChanges":[{"pathBytes":[99,114,97,116,101,115,47,98,117,116,47,115,114,99,47,98,114,97,110,99,104,47,108,105,115,116,46,114,115],"previousPathBytes":null,"hunkHeaders":[{"newLines":58,"newStart":1,"oldLines":12,"oldStart":1},{"newLines":586,"newStart":61,"oldLines":91,"oldStart":15}]},{"pathBytes":[99,114,97,116,101,115,47,98,117,116,47,115,114,99,47,98,114,97,110,99,104,47,109,111,100,46,114,115],"previousPathBytes":null,"hunkHeaders":[{"newLines":62,"newStart":19,"oldLines":6,"oldStart":18},{"oldStart":52,"oldLines":1,"newStart":0,"newLines":0},{"oldStart":75,"oldLines":1,"newStart":0,"newLines":0},{"oldStart":77,"oldLines":1,"newStart":0,"newLines":0},{"oldStart":0,"oldLines":0,"newStart":108,"newLines":2},{"oldStart":0,"oldLines":0,"newStart":111,"newLines":1},{"oldStart":0,"oldLines":0,"newStart":113,"newLines":13},{"oldStart":0,"oldLines":0,"newStart":166,"newLines":5},{"oldStart":0,"oldLines":0,"newStart":172,"newLines":11}]},{"pathBytes":[99,114,97,116,101,115,47,98,117,116,47,115,114,99,47,108,105,98,46,114,115],"previousPathBytes":null,"hunkHeaders":[{"oldStart":0,"oldLines":0,"newStart":34,"newLines":1}]},{"pathBytes":[99,114,97,116,101,115,47,98,117,116,47,115,114,99,47,116,97,98,108,101,46,114,115],"previousPathBytes":null,"hunkHeaders":[{"newLines":236,"newStart":1,"oldLines":0,"oldStart":1}]},{"pathBytes":[99,114,97,116,101,115,47,98,117,116,47,67,97,114,103,111,46,116,111,109,108],"previousPathBytes":null,"hunkHeaders":[{"newLines":8,"newStart":49,"oldLines":6,"oldStart":49},{"newLines":8,"newStart":78,"oldLines":6,"oldStart":76}]},{"pathBytes":[67,97,114,103,111,46,108,111,99,107],"previousPathBytes":null,"hunkHeaders":[{"newLines":7,"newStart":706,"oldLines":6,"oldStart":706},{"newLines":7,"newStart":737,"oldLines":6,"oldStart":736},{"newLines":13,"newStart":758,"oldLines":11,"oldStart":756},{"newLines":16,"newStart":10461,"oldLines":6,"oldStart":10457}]}] ```
Thanks for sharing, and yes, I believe the heading "Working on a worktree like there is nothing else" covers it. To make that clearer, I added another paragraph: > [..]...
Right now it really wants to checkout its `gitbutler/workspace` branch, which makes it incompatible to linked worktrees as these have their own dedicated branch checked out. The goal of this...
You are welcome, and let me try again. It doesn't want to own anything, nor will it try to take control of worktrees. The reason it may appear a bit...
It would have to work with the currently checked out branch as as workspace tip, i.e. the branch that points to the workspace commit that merges the other branches into...
An alternative would be to let each worktree have its own workspace of course, like `gitbutler/worktree-name`, which is good for a nice isolation. It also feels like it's a bit...
Thanks a lot for reporting! This issue looks like it's easy to reproduce, but on MacOS at least that's not happening. Thus it's probably related to *something* with the browser...
Thanks so much for all this digging, and for sharing your results so well organised! Now I realised that we do pin dependencies, a fact that I wasn't aware of....
The current [Nightly](https://gitbutler.com/nightly) was built without the version pinning. We don't really have links there, so here is the version :D.
Thanks, let me undo that Nightly 😅, and thanks a lot for testing this out further.