mirror of
https://github.com/extrawurst/gitui.git
synced 2024-11-24 05:30:32 +03:00
rename for explicity
This commit is contained in:
parent
d1ebc56bfe
commit
baac3d01be
@ -24,7 +24,7 @@ but this also allows us now to define colors in the common hex format:
|
||||
Checkout [THEMES.md](./THEMES.md) for more info.
|
||||
|
||||
### Added
|
||||
* support `TAR_COMMIT_ID` enabling builds from `git archive` generated source tarballs or other outside a git repo [[@alerque](https://github.com/alerque)] ([#2187](https://github.com/extrawurst/gitui/pull/2187))
|
||||
* support `BUILD_GIT_COMMIT_ID` enabling builds from `git archive` generated source tarballs or other outside a git repo [[@alerque](https://github.com/alerque)] ([#2187](https://github.com/extrawurst/gitui/pull/2187))
|
||||
|
||||
### Fixes
|
||||
* update yanked dependency to `libc` to fix building with `--locked`.
|
||||
|
2
build.rs
2
build.rs
@ -5,7 +5,7 @@ fn get_git_hash() -> String {
|
||||
|
||||
// Allow builds from `git archive` generated tarballs if output of `git get-tar-commit-id` is
|
||||
// set in an env var.
|
||||
if let Ok(commit) = std::env::var("TAR_COMMIT_ID") {
|
||||
if let Ok(commit) = std::env::var("BUILD_GIT_COMMIT_ID") {
|
||||
return commit[..7].to_string();
|
||||
};
|
||||
let commit = Command::new("git")
|
||||
|
Loading…
Reference in New Issue
Block a user