Commit 7e0c25eccd

Andrew Kelley <andrew@ziglang.org>
2025-03-08 20:15:44
Revert "build: Don't check parent directories for git tag"
This reverts commit 21620f3c652bc874776acc7251f05b25d2838019. This breaks running `zig build` from subdirectories.
1 parent 21620f3
Changed files (1)
build.zig
@@ -259,8 +259,6 @@ pub fn build(b: *std.Build) !void {
             "git",
             "-C",
             b.build_root.path orelse ".",
-            "--git-dir",
-            ".git",
             "describe",
             "--match",
             "*.*.*",