Revision c6b53c8684966b3e22d0f26dc981a8b4a0b03ce7 authored by Junio C Hamano on 16 November 2009, 08:03:15 UTC, committed by Junio C Hamano on 16 November 2009, 08:03:15 UTC
* bs/maint-pre-commit-hook-sample:
  pre-commit.sample: Diff against the empty tree when HEAD is invalid
2 parent s 5e9cb86 + c30eb85
Raw File
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(const unsigned char *sha1);

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

int parse_blob(struct blob *item);

#endif /* BLOB_H */
back to top