Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
chore: Fix spurious rebuilds of Zed library and binary (#3952)
Piotr Osiewiczdd730549df07
diff --git a/crates/zed/build.rs b/crates/zed/build.rsindex 08608d0c6a0..0b13f5bd2f5 100644--- a/crates/zed/build.rs+++ b/crates/zed/build.rs@@ -22,7 +22,7 @@ fn main() {println!("cargo:rustc-link-arg=-Wl,-ObjC");// Populate git sha environment variable if git is available- println!("cargo:rerun-if-changed=.git/logs/HEAD");+ println!("cargo:rerun-if-changed=../../.git/logs/HEAD");if let Ok(output) = Command::new("git").args(["rev-parse", "HEAD"]).output() {if output.status.success() {let git_sha = String::from_utf8_lossy(&output.stdout);