diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-12-10 12:50:10 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-10 12:50:10 -0800 |
commit | ec008076dbe6acde42ce9ff796f72ca7c3edd5bf (patch) | |
tree | 50e15d19e0902b128b9829c372e27078aa1398b6 /t/t6007-rev-list-cherry-pick-file.sh | |
parent | 0e18bcd5e937b9e5857892e7f5c80c3c5b1da5d4 (diff) | |
download | git-ec008076dbe6acde42ce9ff796f72ca7c3edd5bf.tar.gz git-ec008076dbe6acde42ce9ff796f72ca7c3edd5bf.tar.xz |
format_commit_message(): simplify calls to logmsg_reencode()
All the other callers of logmsg_reencode() pass return value of
get_commit_output_encoding() or get_log_output_encoding(). Teach
the function to optionally take NULL as a synonym to "" aka "no
conversion requested" so that we can simplify the only remaining
calling site.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6007-rev-list-cherry-pick-file.sh')
0 files changed, 0 insertions, 0 deletions