mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-28 11:36:34 +00:00
Merge pull request #2226 from ghostty-org/push-mtvnlywtrwsk
build: support building without .git directory
This commit is contained in:
@@ -25,6 +25,7 @@ pub fn detect(b: *std.Build) !Version {
|
||||
.Ignore,
|
||||
) catch |err| switch (err) {
|
||||
error.FileNotFound => return error.GitNotFound,
|
||||
error.ExitCodeFailure => return error.GitNotRepository,
|
||||
else => return err,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user