From c18de40eddc8529f98649da6669b5cfadd49cc35 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sat, 5 Aug 2023 13:29:07 -0700 Subject: [PATCH] remove git version info --- src/git_version-orig.zig | 6 ------ src/main.zig | 5 ----- 2 files changed, 11 deletions(-) delete mode 100644 src/git_version-orig.zig diff --git a/src/git_version-orig.zig b/src/git_version-orig.zig deleted file mode 100644 index 4ed7f34..0000000 --- a/src/git_version-orig.zig +++ /dev/null @@ -1,6 +0,0 @@ -pub const hash = "a662f6f674e66aa4cff435553e2593b7fd0a9aef"; -pub const abbreviated_hash = "a662f6f"; -pub const commit_date = "2022-06-05 18:34:39 -0700"; -pub const branch = "HEAD -> master, origin/master"; -pub const dirty = true; -pub const pretty_version = "version a662f6f, committed at 2022-06-05 18:34:39 -0700 (dirty)"; diff --git a/src/main.zig b/src/main.zig index 5d1f355..43483b7 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1,7 +1,6 @@ const std = @import("std"); const aws = @import("aws.zig"); const json = @import("json.zig"); -const version = @import("git_version.zig"); var verbose: u8 = 0; @@ -63,11 +62,7 @@ pub fn main() anyerror!void { var tests = std.ArrayList(Tests).init(allocator); defer tests.deinit(); var args = std.process.args(); - var first = true; while (args.next()) |arg| { - if (first) - std.log.info("{s} {s}", .{ arg, version.pretty_version }); - first = false; if (std.mem.eql(u8, "-v", arg)) { verbose += 1; continue;