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: NJunio C Hamano <gitster@pobox.com>
Showing
此差异已折叠。
mailinfo.c
0 → 100644
此差异已折叠。
mailinfo.h
0 → 100644
想要评论请 注册 或 登录