projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support :ext: access method.
[git.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index
5cb340c
..
a720290
100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-425,7
+425,7
@@
int diff_populate_filespec(struct diff_filespec *s, int size_only)
s->size = e->size;
return 0;
}
- if (!sha1_
file_size(s->sha1
, &s->size))
+ if (!sha1_
object_info(s->sha1, type
, &s->size))
locate_size_cache(s->sha1, 0, s->size);
}
else {