commit - d157810fc8eed7b3b5b84ea214e7d9d95863e7d0
commit + 6fad634b7a4895ec1c8e911cb7a57ecf062dda10
blob - 933ef189e913efdb7831787569b32f5139f2eaea
blob + 6753bf20a87ddd82647b112b845b1d051f7f9dd5
--- lib/blame.c
+++ lib/blame.c
if (changes) {
struct got_diff_change *change;
- char *id_str;
- err = got_object_id_str(&id_str, id);
- if (err)
- goto done;
-
SIMPLEQ_FOREACH(change, &changes->entries, entry) {
int a = change->cv.a;
int b = change->cv.b;
for (lineno = a; lineno <= b; lineno++)
annotate_line(blame, lineno, id);
}
- free(id_str);
}
done:
if (obj)