Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff: convert struct diff_filespec to struct object_id
[gitweb.git]
/
line-log.c
diff --git
a/line-log.c
b/line-log.c
index bbe31ed6fbb7c103c739f7e9a3c45cde5d36fcec..0293863926f9c2643df92f80799e45c1b162db22 100644
(file)
--- a/
line-log.c
+++ b/
line-log.c
@@
-520,7
+520,7
@@
static void fill_line_ends(struct diff_filespec *spec, long *lines,
char *data = NULL;
if (diff_populate_filespec(spec, 0))
- die("Cannot read blob %s",
sha1_to_hex(spec->sha1
));
+ die("Cannot read blob %s",
oid_to_hex(&spec->oid
));
ALLOC_ARRAY(ends, size);
ends[cur++] = 0;