Skip to content

Commit baac3d0

Browse files
committed
rename for explicity
1 parent d1ebc56 commit baac3d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ but this also allows us now to define colors in the common hex format:
2424
Checkout [THEMES.md](./THEMES.md) for more info.
2525

2626
### Added
27-
* 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))
27+
* 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))
2828

2929
### Fixes
3030
* update yanked dependency to `libc` to fix building with `--locked`.

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fn get_git_hash() -> String {
55

66
// Allow builds from `git archive` generated tarballs if output of `git get-tar-commit-id` is
77
// set in an env var.
8-
if let Ok(commit) = std::env::var("TAR_COMMIT_ID") {
8+
if let Ok(commit) = std::env::var("BUILD_GIT_COMMIT_ID") {
99
return commit[..7].to_string();
1010
};
1111
let commit = Command::new("git")

0 commit comments

Comments
 (0)