Skip to content
Newer
Older
100644 23 lines (19 sloc) 519 Bytes
a733cb6 Change pack file format. Hopefully for the last time.
Linus Torvalds authored Jun 28, 2005
1 #ifndef PACK_H
2 #define PACK_H
3
1974632 Remove TYPE_* constant macros and use object_type enums consistently.
Linus Torvalds authored Jul 11, 2006
4 #include "object.h"
a733cb6 Change pack file format. Hopefully for the last time.
Linus Torvalds authored Jun 28, 2005
5
6 /*
7 * Packed object header
8 */
9 #define PACK_SIGNATURE 0x5041434b /* "PACK" */
01247d8 Make git pack files use little-endian size encoding
Linus Torvalds authored Jun 28, 2005
10 #define PACK_VERSION 2
d60fc1c remove delta-against-self bit
Nicolas Pitre authored Feb 9, 2006
11 #define pack_version_ok(v) ((v) == htonl(2) || (v) == htonl(3))
a733cb6 Change pack file format. Hopefully for the last time.
Linus Torvalds authored Jun 28, 2005
12 struct pack_header {
13 unsigned int hdr_signature;
14 unsigned int hdr_version;
15 unsigned int hdr_entries;
16 };
17
f3bf922 [PATCH] verify-pack updates.
Junio C Hamano authored Jun 30, 2005
18 extern int verify_pack(struct packed_git *, int);
a49dd05 pack-objects: reuse data from existing packs.
Junio C Hamano authored Feb 15, 2006
19 extern int check_reuse_pack_delta(struct packed_git *, unsigned long,
20 unsigned char *, unsigned long *,
21 enum object_type *);
a733cb6 Change pack file format. Hopefully for the last time.
Linus Torvalds authored Jun 28, 2005
22 #endif
Something went wrong with that request. Please try again.