Skip to content

Commit ba5312d

Browse files
committed
Merge branch 'jc/mailinfo-lib'
The implementation of "git mailinfo" was refactored so that a mailinfo() function can be directly called from inside a process. * jc/mailinfo-lib: (34 commits) mailinfo: remove calls to exit() and die() deep in the callchain mailinfo: handle charset conversion errors in the caller mailinfo: libify mailinfo: keep the parsed log message in a strbuf mailinfo: handle_commit_msg() shouldn't be called after finding patchbreak mailinfo: move content/content_top to struct mailinfo mailinfo: move [ps]_hdr_data to struct mailinfo mailinfo: move cmitmsg and patchfile to struct mailinfo mailinfo: move charset to struct mailinfo mailinfo: move transfer_encoding to struct mailinfo mailinfo: move check for metainfo_charset to convert_to_utf8() mailinfo: move metainfo_charset to struct mailinfo mailinfo: move use_scissors and use_inbody_headers to struct mailinfo mailinfo: move add_message_id and message_id to struct mailinfo mailinfo: move patch_lines to struct mailinfo mailinfo: move filter/header stage to struct mailinfo mailinfo: move global "FILE *fin, *fout" to struct mailinfo mailinfo: move keep_subject & keep_non_patch_bracket to struct mailinfo mailinfo: introduce "struct mailinfo" to hold globals mailinfo: move global "line" into mailinfo() function ...
2 parents 9627b0a + 6ac617a commit ba5312d

4 files changed

Lines changed: 1099 additions & 1035 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,7 @@ LIB_OBJS += list-objects.o
731731
LIB_OBJS += ll-merge.o
732732
LIB_OBJS += lockfile.o
733733
LIB_OBJS += log-tree.o
734+
LIB_OBJS += mailinfo.o
734735
LIB_OBJS += mailmap.o
735736
LIB_OBJS += match-trees.o
736737
LIB_OBJS += merge.o

0 commit comments

Comments
 (0)