authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-31 23:45:00 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-31 23:45:00 -07:00
log81f065697e0d0790b4da6b75022b07e4d8e8c74a
tree2ba189a4eba1b39ca1b8d9bf693a5e8177bcf8ca
parent2b3f83cd341764f979969603e4f77e62f353b6a3
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.15.2


2 files changed, 4 insertions(+), 4 deletions(-)

README.md+1-1
...@@ -3,7 +3,7 @@...@@ -3,7 +3,7 @@
3![loc](https://sloc.xyz/github/nektro/zig-git)3![loc](https://sloc.xyz/github/nektro/zig-git)
4[![license](https://img.shields.io/github/license/nektro/zig-git.svg)](https://github.com/nektro/zig-git/blob/master/LICENSE)4[![license](https://img.shields.io/github/license/nektro/zig-git.svg)](https://github.com/nektro/zig-git/blob/master/LICENSE)
5[![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro)5[![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro)
6[![Zig](https://img.shields.io/badge/Zig-0.14-f7a41d)](https://ziglang.org/)6[![Zig](https://img.shields.io/badge/Zig-0.15-f7a41d)](https://ziglang.org/)
7[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)7[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)
88
9Inspect into the depths of your .git folder purely from Zig.9Inspect into the depths of your .git folder purely from Zig.
git.zig+3-3
...@@ -165,7 +165,7 @@ pub fn parseCommit(alloc: std.mem.Allocator, commitfile: string) !Commit {...@@ -165,7 +165,7 @@ pub fn parseCommit(alloc: std.mem.Allocator, commitfile: string) !Commit {
165165
166 var iter = std.mem.splitScalar(u8, commitfile, '\n');166 var iter = std.mem.splitScalar(u8, commitfile, '\n');
167 var result: Commit = undefined;167 var result: Commit = undefined;
168 var parents = std.ArrayList(CommitId).init(alloc);168 var parents = std.array_list.Managed(CommitId).init(alloc);
169 errdefer parents.deinit();169 errdefer parents.deinit();
170 while (true) {170 while (true) {
171 const line = iter.next() orelse break;171 const line = iter.next() orelse break;
...@@ -284,8 +284,8 @@ pub fn parseTreeDiff(alloc: std.mem.Allocator, input: string) !TreeDiff {...@@ -284,8 +284,8 @@ pub fn parseTreeDiff(alloc: std.mem.Allocator, input: string) !TreeDiff {
284 defer t.end();284 defer t.end();
285285
286 var lineiter = std.mem.splitScalar(u8, input, '\n');286 var lineiter = std.mem.splitScalar(u8, input, '\n');
287 var overview = std.ArrayList(TreeDiff.StateLine).init(alloc);287 var overview = std.array_list.Managed(TreeDiff.StateLine).init(alloc);
288 var diffs = std.ArrayList(TreeDiff.Diff).init(alloc);288 var diffs = std.array_list.Managed(TreeDiff.Diff).init(alloc);
289 var meta = std.mem.zeroes(TreeDiff.Meta);289 var meta = std.mem.zeroes(TreeDiff.Meta);
290290
291 while (lineiter.next()) |lin| {291 while (lineiter.next()) |lin| {