aboutsummaryrefslogtreecommitdiff
path: root/src/git.zig
diff options
context:
space:
mode:
authortsne <tsne.dev@outlook.com>2026-06-19 13:09:03 +0200
committertsne <tsne.dev@outlook.com>2026-06-21 08:51:45 +0200
commit5ba038c3eb07fc94fc8d6f46b451f552bfc121a4 (patch)
tree4bc57b4616943f5ef014ae2081c3c680a506b6ef /src/git.zig
parentupgrade to zig 0.16 (diff)
downloadporteur-5ba038c3eb07fc94fc8d6f46b451f552bfc121a4.tar.gz
minor bugfixes and output formattingHEADmain
Diffstat (limited to 'src/git.zig')
-rw-r--r--src/git.zig2
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);