diff options
| author | m0wer <m0wer@sgn.space> | 2026-03-29 16:45:52 +0200 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-30 16:29:23 +0000 |
| commit | 820fd706a24be7a58554a27e411e120cfa28d9a6 (patch) | |
| tree | 2b95e4f835122dabfcd1f72f637a12368a4c18f9 /src/lib/login/fresh.rs | |
| parent | e3276e74bc45cb4fb8f158b8249bee3d12a0805f (diff) | |
feat: git worktree support
Git worktrees don't have a .git directory with a parent, so we need to
look for the git dir via git2's Repository::discover() and then look for
the cache database there. This allows the client to work correctly when
run from a worktree, and also allows the cache database to be shared
between the main repo and its worktrees (since they share the same git
dir and thus the same cache path).
Diffstat (limited to 'src/lib/login/fresh.rs')
0 files changed, 0 insertions, 0 deletions