From c32f692aff65076bef79787429c3f09dbb1b6311 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Mon, 18 May 2026 00:48:43 -0700 Subject: [PATCH] parseTreeDiff: fix file name when has a space in it and is binary change ps: the tab is so you can jump to it and be at the start of the name --- git.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git.zig b/git.zig index bf022f8c5036c71da445d487bce49ad5a7546a22..4986bd4954b4af27b773b18009835bf8fd5f37c1 100644 --- a/git.zig +++ b/git.zig @@ -331,7 +331,7 @@ pub fn parseTreeDiff(alloc: std.mem.Allocator, input: string) !TreeDiff { const before_tree = ensureObjId(BlobId, jter.next().?); const after_tree = ensureObjId(BlobId, jter.next().?); - var kter = std.mem.splitScalar(u8, jter.next().?, '\t'); // why is there a tab here git. why? + var kter = std.mem.splitScalar(u8, jter.rest(), '\t'); const action_s = kter.next().?; try overview.append(.{ -- 2.54.0