]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
mailinfo: libify
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Oct 2015 00:44:55 +0000 (17:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Oct 2015 22:59:34 +0000 (15:59 -0700)
commitc6905e45f078530cda57690b0db6a7378dc1f794
tree520e8dc5cfa3c23a9ab594346ee17fef1f30b86d
parent05e625e5bf5231af984f17b82be9c48063b37242
mailinfo: libify

Move the bulk of the code from builtin/mailinfo.c to mailinfo.c
so that new callers can start calling mailinfo() directly.

Note that a few calls to exit() and die() need to be cleaned up
for the API to be truly useful, which will come in later steps.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
builtin/mailinfo.c
mailinfo.c [new file with mode: 0644]
mailinfo.h [new file with mode: 0644]