commit - adacb96fd801526f57caee393ea94c6962781ff0
commit + 18f4293943894155d5ccbdb423f1e8a2bb1e1d62
blob - 2f649f7fec0e73d3185d33b10add85ff2e52f728
blob + de31251b908ee9dcad7ab631054200fd0b6cfc0a
--- lib/diff.c
+++ lib/diff.c
args.diff_context = diff_context;
flags |= D_PROTOTYPE;
- if (label1 && strncmp(label1, idstr1, strlen(idstr1)) != 0)
- fprintf(outfile, "blob - %s\n", idstr1);
- if (label2 && strncmp(label2, idstr2, strlen(idstr2)) != 0)
- fprintf(outfile, "blob + %s\n", idstr2);
-
+ fprintf(outfile, "blob - %s\n", idstr1);
+ fprintf(outfile, "blob + %s\n", idstr2);
err = got_diffreg(&res, f1, f2, flags, &args, &ds, outfile, changes);
done:
free(l1);