gitbutler/crates/gitbutler-core/tests
Sebastian Thiel b60d49f752 a clear error message when bare repositories are encountered and rejected (#2704)
This also rewrites some other checks in preference of opening the git directory
in isolation. Doing so is very fast, and the only way to know for certain if a
repository is bare.

In future, once the repository is more separated from the worktree (in terms of mindset)
it should be possible to handle bare repos with worktrees as well.
2024-04-22 11:01:07 +02:00
..
database use the new testsupport crate 2024-04-09 20:45:17 +02:00
deltas de-objectify all sub-handlers 2024-04-13 23:09:17 +02:00
error feat: add error::Code and ways to attach them in anyhow. 2024-04-01 16:14:34 +02:00
gb_repository dissolve the event queue in favor of method calls 2024-04-15 07:11:09 +02:00
git dissolve the event queue in favor of method calls 2024-04-15 07:11:09 +02:00
keys use the new testsupport crate 2024-04-09 20:45:17 +02:00
lock use the new testsupport crate 2024-04-09 20:45:17 +02:00
reader use the new testsupport crate 2024-04-09 20:45:17 +02:00
sessions use the new testsupport crate 2024-04-09 20:45:17 +02:00
suite a clear error message when bare repositories are encountered and rejected (#2704) 2024-04-22 11:01:07 +02:00
types chore: move library from top-level to gitbutler-core 2024-03-30 22:39:21 +01:00
virtual_branches refactor 2024-04-21 11:35:26 +02:00
zip chore: align 'app' and 'lib' crates imports. 2024-03-30 22:43:16 +01:00
app.rs use the new testsupport crate 2024-04-09 20:45:17 +02:00