This commit is contained in:
Adam Majer 2024-07-15 21:22:58 +02:00
parent 8821e8ddf6
commit cb35af8322

View File

@ -282,7 +282,7 @@ func parseGitMsg(data <-chan byte) (gitMsg, error) {
id[pos] = c id[pos] = c
pos++ pos++
} else { } else {
return gitMsg{}, errors.New("Invalid character during object hash parse") return gitMsg{}, fmt.Errorf("Invalid character during object hash parse '%c' at %d", c, pos)
} }
} }
id = id[:pos] id = id[:pos]