]> git.ipfire.org Git - thirdparty/git.git/blame - pack.h
Change pack file format. Hopefully for the last time.
[thirdparty/git.git] / pack.h
CommitLineData
a733cb60
LT
1#ifndef PACK_H
2#define PACK_H
3
4enum object_type {
5 OBJ_NONE,
6 OBJ_COMMIT,
7 OBJ_TREE,
8 OBJ_BLOB,
9 OBJ_TAG,
10 OBJ_DELTA,
11};
12
13/*
14 * Packed object header
15 */
16#define PACK_SIGNATURE 0x5041434b /* "PACK" */
17struct pack_header {
18 unsigned int hdr_signature;
19 unsigned int hdr_version;
20 unsigned int hdr_entries;
21};
22
23#endif