Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse_object_buffer: do not set object type
[gitweb.git]
/
blob.c
diff --git
a/blob.c
b/blob.c
index ae320bd8fa22aaaef8144bd6bc35c20d1e85e4f4..5720a38ca270b48f2dde81472cee3642f72d89f6 100644
(file)
--- a/
blob.c
+++ b/
blob.c
@@
-7,7
+7,7
@@
struct blob *lookup_blob(const unsigned char *sha1)
{
struct object *obj = lookup_object(sha1);
if (!obj)
- return create_object(sha1,
OBJ_BLOB,
alloc_blob_node());
+ return create_object(sha1, alloc_blob_node());
if (!obj->type)
obj->type = OBJ_BLOB;
if (obj->type != OBJ_BLOB) {