Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/worktree-move'
[gitweb.git]
/
builtin
/
reflog.c
diff --git
a/builtin/reflog.c
b/builtin/reflog.c
index 4719a5354cf182eb91b257a99da97b9b81da5257..a89bd1dd25252ddfe5ad6b32ee89950d3a4b258f 100644
(file)
--- a/
builtin/reflog.c
+++ b/
builtin/reflog.c
@@
-75,7
+75,7
@@
static int tree_is_complete(const struct object_id *oid)
if (!tree->buffer) {
enum object_type type;
unsigned long size;
- void *data = read_
sha1_file(oid->hash
, &type, &size);
+ void *data = read_
object_file(oid
, &type, &size);
if (!data) {
tree->object.flags |= INCOMPLETE;
return 0;