Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2020-12-17 14:08:00 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2020-12-17 14:30:42 +0300
commit6f95abefc38e6ed73977178cca104943ee7e44c6 (patch)
treed117247b1f8e00aeb03a6f69641cf1a54c3332a5 /internal/git2go
parentb524f3cb34cc2e72d54876b096cae5cf43154729 (diff)
stats: Fix stop condition when parsing packfile negotiations
When the packfile negotiation parser sees the "done" pktline, then it should stop parsing as everything that follows is the actual packfile's contents. We do so, or at least we intend to do so, but in fact the `break` we have there is ineffective as it breaks the case statement, not the loop. Fix this by correctly breaking out of the loop if we've seen a "done" pktline.
Diffstat (limited to 'internal/git2go')
0 files changed, 0 insertions, 0 deletions