summaryrefslogtreecommitdiff
path: root/connected.h
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2017-10-16 10:55:23 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-17 10:51:29 +0900
commit5d2124b34a11967b56bfeb57556be5e4583172c8 (patch)
tree5f4a2c5923b639c8b499608ef93cc038c3889043 /connected.h
parentconnect: in ref advertisement, shallows are last (diff)
downloadtgif-5d2124b34a11967b56bfeb57556be5e4583172c8.tar.xz
pkt-line: add packet_write function
Add a function which can be used to write the contents of an arbitrary buffer. This makes it easy to build up data in a buffer before writing the packet instead of formatting the entire contents of the packet using 'packet_write_fmt()'. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connected.h')
0 files changed, 0 insertions, 0 deletions