|
1 | | -Git pack format |
2 | | -=============== |
| 1 | +gitformat-pack(5) |
| 2 | +================= |
| 3 | + |
| 4 | +NAME |
| 5 | +---- |
| 6 | +gitformat-pack - Git pack format |
| 7 | + |
| 8 | + |
| 9 | +SYNOPSIS |
| 10 | +-------- |
| 11 | +[verse] |
| 12 | +$GIT_DIR/objects/pack/pack-*.{pack,idx} |
| 13 | +$GIT_DIR/objects/pack/pack-*.rev |
| 14 | +$GIT_DIR/objects/pack/multi-pack-index |
| 15 | + |
| 16 | +DESCRIPTION |
| 17 | +----------- |
| 18 | + |
| 19 | +The Git pack format is now Git stores most of its primary repository |
| 20 | +data. Over the lietime af a repository loose objects (if any) and |
| 21 | +smaller packs are consolidated into larger pack(s). See |
| 22 | +linkgit:git-gc[1] and linkgit:git-pack-objects[1]. |
| 23 | + |
| 24 | +The pack format is also used over-the-wire, see |
| 25 | +e.g. linkgit:gitprotocol-v2[5], as well as being a part of |
| 26 | +other container formats in the case of linkgit:gitformat-bundle[5]. |
3 | 27 |
|
4 | 28 | == Checksums and object IDs |
5 | 29 |
|
@@ -356,7 +380,7 @@ CHUNK LOOKUP: |
356 | 380 | using the next chunk position if necessary.) |
357 | 381 |
|
358 | 382 | The CHUNK LOOKUP matches the table of contents from |
359 | | - link:technical/chunk-format.html[the chunk-based file format]. |
| 383 | + the chunk-based file format, see linkgit:gitformat-chunk[5]. |
360 | 384 |
|
361 | 385 | The remaining data in the body is described one chunk at a time, and |
362 | 386 | these chunks may be given in any order. Chunks are required unless |
@@ -482,3 +506,7 @@ packs arranged in MIDX order (with the preferred pack coming first). |
482 | 506 |
|
483 | 507 | The MIDX's reverse index is stored in the optional 'RIDX' chunk within |
484 | 508 | the MIDX itself. |
| 509 | + |
| 510 | +GIT |
| 511 | +--- |
| 512 | +Part of the linkgit:git[1] suite |
0 commit comments