summaryrefslogtreecommitdiff
path: root/compat/strtoimax.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2021-02-11 02:08:04 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-10 23:35:42 -0800
commit937032e14aaf1eab59c96dd78938be1c48c648e1 (patch)
treee2ce5104c34e1ea5b1fafe21ecf68d1d31eae252 /compat/strtoimax.c
parentgpg-interface: improve interface for parsing tags (diff)
downloadtgif-937032e14aaf1eab59c96dd78938be1c48c648e1.tar.xz
commit: allow parsing arbitrary buffers with headers
Currently only commits are signed with headers. However, in the future, we'll also sign tags with headers as well. Let's refactor out a function called parse_buffer_signed_by_header which does exactly that. In addition, since we'll want to sign things other than commits this way, let's call the function sign_with_header instead of do_sign_commit. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/strtoimax.c')
0 files changed, 0 insertions, 0 deletions