Merge branch 'la/trailer-cleanups' into maint-2.43
Code clean-up. * la/trailer-cleanups: trailer: use offsets for trailer_start/trailer_end trailer: find the end of the log message commit: ignore_non_trailer computes number of bytes to ignore
This commit is contained in:
@ -869,7 +869,7 @@ static void prepare_to_commit(struct commit_list *remoteheads)
|
||||
_(no_scissors_editor_comment), comment_line_char);
|
||||
}
|
||||
if (signoff)
|
||||
append_signoff(&msg, ignore_non_trailer(msg.buf, msg.len), 0);
|
||||
append_signoff(&msg, ignored_log_message_bytes(msg.buf, msg.len), 0);
|
||||
write_merge_heads(remoteheads);
|
||||
write_file_buf(git_path_merge_msg(the_repository), msg.buf, msg.len);
|
||||
if (run_commit_hook(0 < option_edit, get_index_file(), NULL,
|
||||
|
Reference in New Issue
Block a user