From 259015937048a1ff820ded783ab65376b8f79f4b Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Thu, 4 May 2023 14:00:48 -0700 Subject: [PATCH] add Object.Type.none, this is found when a commit deletes a file --- git.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git.zig b/git.zig index 059a525188edae6329f7ca974722dfb67e962674..e3ecaa8480bf5b224babfb5a9acd24093658c89e 100644 --- a/git.zig +++ b/git.zig @@ -250,6 +250,7 @@ pub const Tree = struct { directory = 40, submodule = 160, symlink = 120, + none = 0, pub fn format(self: Type, comptime fmt: string, options: std.fmt.FormatOptions, writer: anytype) !void { _ = fmt; @@ -260,6 +261,7 @@ pub const Tree = struct { .directory => 'd', .submodule => 'm', .symlink => '-', + .none => '-', }); } }; -- 2.54.0