pkt-line: extract set_packet_header()
authorLars Schneider <redacted>
Sun, 16 Oct 2016 23:20:30 +0000 (16:20 -0700)
committerJunio C Hamano <redacted>
Mon, 17 Oct 2016 18:36:50 +0000 (11:36 -0700)
commit2f60bdd1a83f14ceee75da309974b0401fa5b019
tree7e6eb100101fea5e97112c78738633196a8a952f
parent81c634e94f2fef0cec295f7554080c82bd6aeeb7
pkt-line: extract set_packet_header()

Extracted set_packet_header() function converts an integer to a 4 byte
hex string. Make this function locally available so that other pkt-line
functions could use it.

Signed-off-by: Lars Schneider <redacted>
Signed-off-by: Junio C Hamano <redacted>
pkt-line.c
git clone https://git.99rst.org/PROJECT