Sebastian Thiel
Sebastian Thiel
What a great idea! Yes, the app is full of race conditions. However, by now we do queue them but maybe the function causing this isn't actually using this system....
Thanks a lot @Caleb-T-Owens for chiming in! This function definitely doesn't grab the lock to serialize it, which explains its raciness. https://github.com/gitbutlerapp/gitbutler/blob/7dbadb13a9d36e31bf272a7964fb4573f958c9e6/crates/gitbutler-branch-actions/src/actions.rs#L291-L292 It will be quite some work to propagate...
I think #4585 is talking about a similar, but slightly different issue, and maybe it helps to have both in mind when working on a fix.
And maybe we could also see the [backend logs](https://docs.gitbutler.com/development/debugging#logs) - this should make clear where exactly the "Expected to be in Edit mode" was coming from, which in turn should...
Thanks a lot for reporting! This is an issue where I have no idea how to approach it, at least assuming that a foundational feature like creating a PR isn't...
Thank you, too! I think for this interaction, the developer console might have additional logs. You can open it with `Cmd + Opt + i`. The `head invalid` message is...
That is very interesting, thanks a lot for providing information this detailed! Maybe @mtsgrd has seen this before, or an idea what it could be.
Thanks a lot for reporting! I think @PavelLaptev did land some changes to this just now, and maybe this already improves the situation. And I am sure that even if...
Thanks a lot for reporting! It's probably something that would have to be reported back to the `tauri` project, CC'ing @ndom91 who may have experience with the updater to decide...
It would probably be something along the lines of a `.git/index`, it would have to keep stat information for each directory, and it could skip checking the *direct* children of...