diff options
| author | tsne <tsne.dev@outlook.com> | 2026-06-19 13:09:03 +0200 |
|---|---|---|
| committer | tsne <tsne.dev@outlook.com> | 2026-06-21 08:51:45 +0200 |
| commit | 5ba038c3eb07fc94fc8d6f46b451f552bfc121a4 (patch) | |
| tree | 4bc57b4616943f5ef014ae2081c3c680a506b6ef /src/git.zig | |
| parent | upgrade to zig 0.16 (diff) | |
| download | porteur-5ba038c3eb07fc94fc8d6f46b451f552bfc121a4.tar.gz | |
Diffstat (limited to 'src/git.zig')
| -rw-r--r-- | src/git.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/git.zig b/src/git.zig index fc0d81b..1b49eed 100644 --- a/src/git.zig +++ b/src/git.zig @@ -41,7 +41,7 @@ pub const Repo = struct { pub fn clone(self: Repo, env: *const Env) !void { const dir = try fs.dir_info(&self.path); if (!dir.exists or dir.empty) { - var branch_buf: [std.fs.max_name_bytes]u8 = undefined; + var branch_buf: [std.Io.Dir.max_name_bytes]u8 = undefined; const branch_param = branch_buf[0 .. 9 + self.branch.len]; @memcpy(branch_param[0..9], "--branch="); @memcpy(branch_param[9..], self.branch); |