packfile: allow install_packed_git to handle arbitrary repositories
[gitweb.git] / combine-diff.c
index bc08c4c5b1f68e731efce9adf2a4032eb5246f99..18c74dad51daf4cd7fb0694ad9ace62098fefac4 100644 (file)
@@ -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;