.
This commit is contained in:
parent
8821e8ddf6
commit
cb35af8322
@ -282,7 +282,7 @@ func parseGitMsg(data <-chan byte) (gitMsg, error) {
|
||||
id[pos] = c
|
||||
pos++
|
||||
} 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]
|
||||
|
Loading…
Reference in New Issue
Block a user