diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-14 17:43:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-21 15:57:17 -0700 |
commit | 05e625e5bf5231af984f17b82be9c48063b37242 (patch) | |
tree | 8bffc18f516eee935512382ed929ebeda4456280 /Documentation/RelNotes/1.7.7.1.txt | |
parent | mailinfo: handle_commit_msg() shouldn't be called after finding patchbreak (diff) | |
download | tgif-05e625e5bf5231af984f17b82be9c48063b37242.tar.xz |
mailinfo: keep the parsed log message in a strbuf
When mailinfo() is eventually libified, the calling "git am" still
will have to write out the log message in the "msg" file for hooks
and other users of the information, but it does not have to reopen
and reread what it wrote earlier if the function kept it in a strbuf.
This also removes the need for seeking and truncating the output
file when we see a scissors mark in the input, which in turn allows
us to lose two callsites of die_errno().
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.7.1.txt')
0 files changed, 0 insertions, 0 deletions