repo.or.cz
/
git
/
debian.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH] denser delta header encoding
[git/debian.git]
/
pack.h
blob
08e120dca664f43f8c12a2ce59cb28a67315500a
1
#ifndef PACK_H
2
#define PACK_H
3
4
enum
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" */
17
struct
pack_header
{
18
unsigned int
hdr_signature
;
19
unsigned int
hdr_version
;
20
unsigned int
hdr_entries
;
21
};
22
23
#endif