diff options
author | Jeff King <peff@peff.net> | 2020-02-11 12:20:05 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-11 10:21:43 -0800 |
commit | f696a2b1c850c81130740945835beec72727debf (patch) | |
tree | 5fb85a3f0d7c4ef95ee15055a4a18f44717916d7 /t/helper/test-genrandom.c | |
parent | mailinfo: be more liberal with header whitespace (diff) | |
download | tgif-f696a2b1c850c81130740945835beec72727debf.tar.xz |
mailinfo: factor out some repeated header handling
We do the same thing for each header: match it, copy it to a strbuf, and
decode it. Let's put that in a helper function to avoid repetition.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-genrandom.c')
0 files changed, 0 insertions, 0 deletions