summaryrefslogtreecommitdiff
path: root/t/lib-credential.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-12-10 12:50:10 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-12-10 12:50:10 -0800
commitec008076dbe6acde42ce9ff796f72ca7c3edd5bf (patch)
tree50e15d19e0902b128b9829c372e27078aa1398b6 /t/lib-credential.sh
parentreencode_string(): introduce and use same_encoding() (diff)
downloadtgif-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/lib-credential.sh')
0 files changed, 0 insertions, 0 deletions