Skip to content

Commit

Permalink
Emit fully resolved path for Git ref
Browse files Browse the repository at this point in the history
Fixes: #374
  • Loading branch information
gpanders committed Sep 10, 2024
1 parent 4d78e16 commit 75bc00b
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 @@ -519,7 +519,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 75bc00b

Please sign in to comment.