fetch: More Git fixes

This commit is contained in:
Ian Johnson
2025-07-31 21:56:08 -04:00
committed by Andrew Kelley
parent 64814dc986
commit d91744401f
2 changed files with 12 additions and 15 deletions

View File

@@ -2418,7 +2418,7 @@ pub fn Hashing(comptime Hasher: type) type {
n += slice.len;
}
for (0..splat) |_| hasher.update(data[data.len - 1]);
return n + splat;
return n + splat * data[data.len - 1].len;
}
};
}