https://github.com/git/git
Revision 8dbeba198ee6759874bb68a74131d1d3adfd75ea authored by Junio C Hamano on 14 February 2020, 20:42:29 UTC, committed by Junio C Hamano on 14 February 2020, 20:42:29 UTC
The code recently added in this release to move to the entry beyond
the ones in the same directory in the index in the sparse-cone mode
did not count the number of entries to skip over incorrectly, which
has been corrected.

* ds/sparse-cone:
  .mailmap: fix GGG authoship screwup
  unpack-trees: correctly compute result count
2 parent s e361f36 + 7210ca4
Raw File
Tip revision: 8dbeba198ee6759874bb68a74131d1d3adfd75ea authored by Junio C Hamano on 14 February 2020, 20:42:29 UTC
Merge branch 'ds/sparse-cone' into maint
Tip revision: 8dbeba1
blob.h
#ifndef BLOB_H
#define BLOB_H

#include "object.h"

extern const char *blob_type;

struct blob {
	struct object object;
};

struct blob *lookup_blob(struct repository *r, const struct object_id *oid);

int parse_blob_buffer(struct blob *item, void *buffer, unsigned long size);

/**
 * Blobs do not contain references to other objects and do not have
 * structured data that needs parsing. However, code may use the
 * "parsed" bit in the struct object for a blob to determine whether
 * its content has been found to actually be available, so
 * parse_blob_buffer() is used (by object.c) to flag that the object
 * has been read successfully from the database.
 **/

#endif /* BLOB_H */
back to top