Skip to content

Commit c6a0569

Browse files
committed
fix: assure reflog notes with characters that are forbidden in signature don't hurt signature parsing.
1 parent 2010668 commit c6a0569

File tree

3 files changed

+607
-4
lines changed

3 files changed

+607
-4
lines changed

gix-ref/src/store/file/log/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ where
219219
if npos == last_read_pos {
220220
return Some(Err(std::io::Error::new(
221221
std::io::ErrorKind::Other,
222-
"buffer too small for line size",
222+
format!("buffer too small for line size, got until {:?}", self.buf.as_bstr()),
223223
)
224224
.into()));
225225
}

0 commit comments

Comments
 (0)