Skip to content

Commit

Permalink
Emit fully resolved path for Git ref (#375)
Browse files Browse the repository at this point in the history
Fixes: #374
  • Loading branch information
gpanders authored Sep 15, 2024
1 parent fad6096 commit 8953712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vergen-git2/src/git2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ impl Git2 {
let path = ref_path.join(name);
// Check whether the path exists in the filesystem before emitting it
if path.exists() {
cargo_rerun_if_changed.push(format!("{}", ref_path.display()));
cargo_rerun_if_changed.push(format!("{}", path.display()));
}
}
}
Expand Down

0 comments on commit 8953712

Please sign in to comment.