aboutsummaryrefslogtreecommitdiff
path: root/src/git.zig
diff options
context:
space:
mode:
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);