diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-24 14:10:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-24 14:10:55 -0700 |
commit | 4728b861ace127dc39c648f3bea64c3b86bbabc5 (patch) | |
tree | 242227fc3c3a74d070ed36496e790335dd00c44a /blob.c | |
parent | da6abf5d9c342a74dffbcc2015b9c27d7819a900 (diff) | |
download | git-4728b861ace127dc39c648f3bea64c3b86bbabc5.tar.gz |
fsck-cache: notice missing "blob" objects.
We should _not_ mark a blob object "parsed" just because we
looked it up: it gets marked that way only once we've actually
seen it. Otherwise we can never notice a missing blob.
Diffstat (limited to 'blob.c')
-rw-r--r-- | blob.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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) { |