gitbutler/crates/gitbutler-branch-actions/tests/extra
Sebastian Thiel 7ce143954f
Do not dynamically calculate the head commit when listing virtual branches.
That way, the head is static which allows to re-use the worktree status across
multiple related calls.

Also, add a way to quickly get the `head_commit()` from a `git2::Repository`.

Note that this may cause breakage in the app, as now it will see the actual
head, not a computed one, but that should also help us to find places that
didn't properly update their state.
2024-08-28 21:16:43 +02:00
..
mod.rs Do not dynamically calculate the head commit when listing virtual branches. 2024-08-28 21:16:43 +02:00