gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

get error to move file to another branch: Failed to update branch ownership

Open yswtrue opened this issue 1 year ago • 9 comments

get error to move file to another branch: Failed to update branch ownership and can't commit get error: Failed to commit changes

yswtrue avatar Mar 27 '24 18:03 yswtrue

Yeah, I just started getting this error on 0.10.28 (I think, it's hard to figure out which version of GitButler I'm running)

jokeyrhyme avatar Mar 31 '24 00:03 jokeyrhyme

Getting the same here. I have a repo where I use pnpm and when I run "pnpm update", it updates the package.json and pnpm-lock.yaml file. I can move/commit the package.json file, but not the pnpm-lock.yaml one.

SiegfriedEhret avatar Apr 03 '24 20:04 SiegfriedEhret

Same issue here with "pnpm update", found out that if the changes on pnpm-lock is short enough, it will be able to do what it suppose to do, probably less than 100 lines of changes. For single repo, it will be easier to achieve this with single package update one by one, but for monorepo, it usually involves more files and changes, so it will will have the branch ownership or commit error.

y3owk1n avatar Apr 07 '24 16:04 y3owk1n

Same issue here. But the file is not super large, it is about 800 loc. There are 4 line changes. I can commit every single other file except this one.

ozyx avatar Apr 12 '24 23:04 ozyx

Thanks for sharing, and sorry for the hassle. I myself also ran into the 'update ownership' issue, but couldn't determine what the problem actually was. In my case, a YAML file wasn't involved. As I moved on, the error seemed to have moved on as well.

It would definitely help if we could collect the errors in the application logs and share them here to maybe see a pattern emerge.

Byron avatar Apr 23 '24 10:04 Byron

I think this issue should be fixed now with the more recent releases. @yswtrue have you ran into this issue recently?

krlvi avatar Aug 18 '24 10:08 krlvi

I can't use gitbutler anymore, because get this error CleanShot 2024-08-18 at 18 37 22@2x

yswtrue avatar Aug 18 '24 10:08 yswtrue

It took me a moment to see the actual error in the far right of the screen, so I thought I'd repost it here:

Screenshot 2024-08-18 at 19 46 59

Byron avatar Aug 18 '24 17:08 Byron

I got the original issue "Failed to update branch ownership" recently. I'm on version 0.12.23, macOS. Will try to recreate

estib-vega avatar Sep 04 '24 16:09 estib-vega