Skip to content

Commit c6905e4

Browse files
committed
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 <[email protected]>
1 parent 05e625e commit c6905e4

File tree

4 files changed

+1062
-1048
lines changed

4 files changed

+1062
-1048
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,7 @@ LIB_OBJS += list-objects.o
726726
LIB_OBJS += ll-merge.o
727727
LIB_OBJS += lockfile.o
728728
LIB_OBJS += log-tree.o
729+
LIB_OBJS += mailinfo.o
729730
LIB_OBJS += mailmap.o
730731
LIB_OBJS += match-trees.o
731732
LIB_OBJS += merge.o

0 commit comments

Comments
 (0)