This patchset starts off with changes to radicle-remote-helper: Maintainence such as making the crate binary-only and a small clean up.
Then, handling of GIT_DIR is simplified throughout radicle{,-remote-helper,-cli}, which unlocks usage of the remote helper with bare repositories.
Next, the commands rad init and rad clone learn to handle bare repositories.
Finally, code paths that would error or degrade upon detecting a bare repository are removed or fixed.
Overall, this patch should significantly improve interoperability with bare repositories.
This patchset starts off with changes to radicle-remote-helper: Maintainence such as making the crate binary-only and a small clean up.
Then, handling of GIT_DIR is simplified throughout radicle{,-remote-helper,-cli}, which unlocks usage of the remote helper with bare repositories.
Next, the commands rad init and rad clone learn to handle bare repositories.
Finally, code paths that would error or degrade upon detecting a bare repository are removed or fixed.
Overall, this patch should significantly improve interoperability with bare repositories.
REVIEW
Incorporate Fintan’s review.
Implement listing HEAD.
Changes:
cargo fmt- Fix doc link by removing, since the method was unknown
Rebase