cargo-binstall/crates/binstalk
Sebastian Thiel 5acfda9379
avoid worktree checkouts (#1207)
* perform a bare git cloen to avoid worktree checkouts

This will be way faster on windows

* feat: use the git repository directly to obtain crate information

* Apply code review changes

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Impl `fmt::Display` for `helpers::git::GitUrl`

and also refactor implementation of `git::Repository::{shallow_clone,
shallow_clone_bare}`.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix clippy lint warnings

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix typo

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-07-17 15:46:12 +00:00
..
src avoid worktree checkouts (#1207) 2023-07-17 15:46:12 +00:00
tests Replace use of log with tracing (#527) 2022-11-13 21:45:37 +13:00
Cargo.toml Use reflink_copy::reflink_or_copy in fs::atomic_install* (#1197) 2023-07-17 11:56:10 +10:00
LICENSE Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00