diff options
author | ThinkChaos <ThinkChaos@users.noreply.github.com> | 2023-02-17 16:15:22 -0500 |
---|---|---|
committer | ThinkChaos <ThinkChaos@users.noreply.github.com> | 2023-02-21 19:05:12 -0500 |
commit | c2958bf730224cc3672e2105faa1879ec5f21cee (patch) | |
tree | 4b6cb8f617301e7cfa9235c64261c5cf666d4009 /plumbing/protocol/packp/advrefs_encode_test.go | |
parent | 7ab4957732a817bada223e5c361f0c9753d9e40c (diff) | |
download | go-git-c2958bf730224cc3672e2105faa1879ec5f21cee.tar.gz |
fix: don't use the `firstErrLine` when it is empty
Returning `nil` causes `handleAdvRefDecodeError` to fall back
to `io.ErrUnexpectedEOF`.
Diffstat (limited to 'plumbing/protocol/packp/advrefs_encode_test.go')
0 files changed, 0 insertions, 0 deletions