Skip to content

Commit 7e0c25e

Browse files
committed
Revert "build: Don't check parent directories for git tag"
This reverts commit 21620f3. This breaks running `zig build` from subdirectories.
1 parent 21620f3 commit 7e0c25e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build.zig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,6 @@ pub fn build(b: *std.Build) !void {
259259
"git",
260260
"-C",
261261
b.build_root.path orelse ".",
262-
"--git-dir",
263-
".git",
264262
"describe",
265263
"--match",
266264
"*.*.*",

0 commit comments

Comments
 (0)