Apply suggestions from code review · Entire
Apply suggestions from code review
25bc18e→main·
Soph·2mo ago·1 file·+1 added/-1 removed
Co-authored-by: Stefan Haubold stefan.haubold@hait.de
Changes
1
internal/gitproto
Mfetch.go+1/-1
358 unmodified lines
359
360
361
362
362
363
364
365
358 unmodified lines
return false, errors.New("protocol v2 fetch response ended without packfile after acknowledgments")
case PacketDelim:
if !ready {
return false, errors.New("expected no other sections to be sent after no 'ready'")
return false, errors.New("unexpected delimiter in acknowledgments section without 'ready'")
}
return true, nil
case PacketData:
Minternal/gitproto/fetch.go+1/-1