Thread (20 messages) flat view 20 messages, 5 authors, 2019-02-22

Re: [WIP RFC 3/5] upload-pack: refactor reading of pack-objects out

From: Stefan Beller <hidden>
Date: 2018-12-04 00:31:01

On Mon, Dec 3, 2018 at 3:37 PM Jonathan Tan [off-list ref] wrote:
Subsequent patches will change how the output of pack-objects is
processed, so extract that processing into its own function.

Currently, at most 1 character can be buffered (in the "buffered" local
variable). One of those patches will require a larger buffer, so replace
that "buffered" local variable with a buffer array.
This buffering sounds oddly similar to the pkt reader which can buffer
at most one pkt, the difference being that we'd buffer bytes
instead of pkts.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help