[PATCH] format_commit_message(): simplify calls to logmsg_reencode()

2013-01-11 Thread Junio C Hamano
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 Ha

[PATCH] format_commit_message(): simplify calls to logmsg_reencode()

2012-12-10 Thread Junio C Hamano
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 Ha

Re: [PATCH] format_commit_message(): simplify calls to logmsg_reencode()

2013-01-11 Thread Junio C Hamano
Please disregard this... -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html