diff options
Diffstat (limited to 'plumbing/protocol/packp/advrefs_decode.go')
-rw-r--r-- | plumbing/protocol/packp/advrefs_decode.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plumbing/protocol/packp/advrefs_decode.go b/plumbing/protocol/packp/advrefs_decode.go index 696bbae..c8f8394 100644 --- a/plumbing/protocol/packp/advrefs_decode.go +++ b/plumbing/protocol/packp/advrefs_decode.go @@ -197,10 +197,6 @@ func decodeFirstRef(l *advRefsDecoder) decoderStateFn { } func decodeCaps(p *advRefsDecoder) decoderStateFn { - if len(p.line) == 0 { - return decodeOtherRefs - } - if err := p.data.Capabilities.Decode(p.line); err != nil { p.error("invalid capabilities: %s", err) } |