We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gix
git
1 parent dd32090 commit 845ba10Copy full SHA for 845ba10
build.rs
@@ -1,5 +1,4 @@
1
use anyhow::{Context as _, Error, Result};
2
-use gix as git;
3
use std::{env, path::Path};
4
5
mod tracked {
@@ -98,7 +97,7 @@ fn write_git_version(out_dir: &Path) -> Result<()> {
98
97
}
99
100
fn get_git_hash() -> Result<Option<String>> {
101
- match git::open_opts(env::current_dir()?, git::open::Options::isolated()) {
+ match gix::open_opts(env::current_dir()?, gix::open::Options::isolated()) {
102
Ok(repo) => {
103
let head_id = repo.head()?.id();
104
0 commit comments