.
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user