gitbutler/crates/gitbutler-core
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
..
src a clear error message when bare repositories are encountered and rejected (#2704) 2024-04-22 11:01:07 +02:00
tests a clear error message when bare repositories are encountered and rejected (#2704) 2024-04-22 11:01:07 +02:00
Cargo.toml Strongly type the hunk-hash to avoid String, but remain compatible. 2024-04-21 11:35:25 +02:00