Skip to content

Commit

Permalink
gitoxide update (#705)
Browse files Browse the repository at this point in the history
* update to git-repository 0.20 (and the latest git-config)

* obtain user name with `gitoxide`

It also makes use of the `GIT_COMMITTER|USER_*` environment variables,
leading to it being more true to the intent while finding the name
that git would use, too.

* obtain remote url and repo name using gitoxide

This is a more literal translation and some more cleanup steps
have to follow.

* remote git2 repository from `repo` module.

`git2` is now used only to find worktree changes, an area where
great speedups could be achieved if it was implemented by gitoxide.

* more robust parsing of repo name
  • Loading branch information
Byron committed Jul 25, 2022
1 parent debd453 commit 2bacf5a
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 118 deletions.
117 changes: 59 additions & 58 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ bytecount = "0.6.3"
clap = {version = "3.2.5", features = ["derive"]}
clap_complete = "3.2.1"
color_quant = "1.1.0"
git-repository = {version = "0.19.0", features = ["max-performance", "unstable", "serde1"]}
git-repository = {version = "0.20.0", features = ["max-performance", "unstable", "serde1"]}
git2 = {version = "0.14.4", default-features = false}
image = "0.24.2"
owo-colors = "3.4.0"
Expand Down
Loading

0 comments on commit 2bacf5a

Please sign in to comment.