gitbutler/crates/gitbutler-branch-actions/tests
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
..
extra Do not dynamically calculate the head commit when listing virtual branches. 2024-08-28 21:16:43 +02:00
fixtures Use gix for simple ref-walk that won't go past the merge-base. 2024-08-21 19:28:12 +02:00
virtual_branches Do not dynamically calculate the head commit when listing virtual branches. 2024-08-28 21:16:43 +02:00
branch.rs rename gitbutler-virtual to gitbutler-branch-actions 2024-07-10 14:49:48 +02:00