summaryrefslogtreecommitdiff
path: root/unix-socket.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2019-02-21 20:24:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-22 22:27:31 (GMT)
commit78ad91728d859a3ddb6e86218e86f16cd3489d0a (patch)
treecf46dd381cb15f9a38b658594d22e260dfde052f /unix-socket.h
parentb35903092e35cf249777ff14c1135c0b50f4e1f3 (diff)
downloadgit-78ad91728d859a3ddb6e86218e86f16cd3489d0a.zip
git-78ad91728d859a3ddb6e86218e86f16cd3489d0a.tar.gz
git-78ad91728d859a3ddb6e86218e86f16cd3489d0a.tar.bz2
remote-curl: refactor reading into rpc_state's buf
Currently, whenever remote-curl reads pkt-lines from its response file descriptor, only the payload is written to its buf, not the 4 characters denoting the length. A future patch will require the ability to also write those 4 characters, so in preparation for that, refactor this read into its own function. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unix-socket.h')
0 files changed, 0 insertions, 0 deletions