diff options
author | Christian Couder <christian.couder@gmail.com> | 2017-11-05 22:38:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-07 09:54:41 +0900 |
commit | 2c9ea595a7b855f1005e16dd6272b16d60a8b255 (patch) | |
tree | cb75c324a6744930df6c20763bea3d98759add23 /builtin/commit.c | |
parent | 0a268826214ae8e50ba504f44067899976f48716 (diff) |
t0021/rot13-filter: refactor packet reading functions
To make it possible in a following commit to move packet
reading and writing functions into a Packet.pm module,
let's refactor these functions, so they don't handle
printing debug output and exiting.
While at it let's create packet_required_key_val_read()
to still handle erroring out in a common case.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions