From: Brandon Williams Date: Mon, 16 Oct 2017 17:55:23 +0000 (-0700) Subject: pkt-line: add packet_write function X-Git-Tag: v2.16.0-rc0~69^2~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5d2124b34a11967b56bfeb57556be5e4583172c8?hp=5d2124b34a11967b56bfeb57556be5e4583172c8 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 Signed-off-by: Junio C Hamano ---