* looking for thelove@canonical.com/bazaar--devo--1.5--patch-21 to compare with * comparing to thelove@canonical.com/bazaar--devo--1.5--patch-21: . done. * modified files --- orig/libarch/changeset-report.c +++ mod/libarch/changeset-report.c @@ -877,18 +877,21 @@ arch_print_changeset (struct arch_chang if (report->added_files) { safe_printfmt (out_fd, "* added files\n\n"); - for (x = 0; x < rel_n_records (report->added_files); ++x) - { - t_uchar * item; - item = pika_save_escape_iso8859_1 (0, 0, escape_classes, - report->added_files[x][0]); - safe_printfmt (out_fd, " %s\n", no_dot (item)); - if (diffs) + if (diffs) + { + arch_print_added_file_diffs (report); + } + else + { + for (x = 0; x < rel_n_records (report->added_files); ++x) { - arch_print_added_file_diffs (report); - } - lim_free (0, item); - } + t_uchar * item; + item = pika_save_escape_iso8859_1 (0, 0, escape_classes, + report->added_files[x][0]); + safe_printfmt (out_fd, " %s\n", no_dot (item)); + lim_free (0, item); + } + } safe_printfmt (out_fd, "\n"); }