From d4f5ccc9c45aee4f6a91058931fb4dbe5384471a Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Thu, 27 Apr 2023 19:10:21 -0700 Subject: [PATCH] trees can also have commit objects, which refer to submodules --- git.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/git.zig b/git.zig index aff4e73c553c50bf931a78e6c775f9be9e085c59..6a6635b644a4a516e3a02efeb54b9e0a99934f53 100644 --- a/git.zig +++ b/git.zig @@ -139,6 +139,7 @@ pub const Tree = struct { pub const Id = union(enum) { blob: BlobId, tree: TreeId, + commit: CommitId, pub const Tag = std.meta.Tag(@This()); }; -- 2.54.0