aboutsummaryrefslogtreecommitdiff
path: root/url.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-12-10 12:50:10 -0800
committerJunio C Hamano <gitster@pobox.com>2012-12-10 12:50:10 -0800
commitec008076dbe6acde42ce9ff796f72ca7c3edd5bf (patch)
tree50e15d19e0902b128b9829c372e27078aa1398b6 /url.c
parent0e18bcd5e937b9e5857892e7f5c80c3c5b1da5d4 (diff)
downloadgit-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 'url.c')
0 files changed, 0 insertions, 0 deletions