Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Set object type at object creation time, not object parse time.
[gitweb.git]
/
blob.c
diff --git
a/blob.c
b/blob.c
index 35031af62bbcf61a59edf22f3502ec62e3bb2765..f79f5abd00ba2eb0b25cf244e0b21b559b86e1d7 100644
(file)
--- a/
blob.c
+++ b/
blob.c
@@
-12,7
+12,6
@@
struct blob *lookup_blob(unsigned char *sha1)
memset(ret, 0, sizeof(struct blob));
created_object(sha1, &ret->object);
ret->object.type = blob_type;
- ret->object.parsed = 1;
return ret;
}
if (obj->parsed && obj->type != blob_type) {