Merge branch 'tb/crlf-conv-flags'
Code clean-up. * tb/crlf-conv-flags: convert_to_git(): safe_crlf/checksafe becomes int conv_flags
This commit is contained in:
@ -1053,7 +1053,7 @@ static void show_patch_diff(struct combine_diff_path *elem, int num_parent,
|
||||
if (is_file) {
|
||||
struct strbuf buf = STRBUF_INIT;
|
||||
|
||||
if (convert_to_git(&the_index, elem->path, result, len, &buf, safe_crlf)) {
|
||||
if (convert_to_git(&the_index, elem->path, result, len, &buf, global_conv_flags_eol)) {
|
||||
free(result);
|
||||
result = strbuf_detach(&buf, &len);
|
||||
result_size = len;
|
||||
|
Reference in New Issue
Block a user