]>
Commit | Line | Data |
---|---|---|
5f40520f JH |
1 | git-unpack-objects(1) |
2 | ===================== | |
5f40520f JH |
3 | |
4 | NAME | |
5 | ---- | |
7bd7f280 | 6 | git-unpack-objects - Unpack objects from a packed archive |
5f40520f JH |
7 | |
8 | ||
9 | SYNOPSIS | |
10 | -------- | |
7791a1d9 | 11 | [verse] |
33e8fc87 | 12 | 'git unpack-objects' [-n] [-q] [-r] [--strict] |
5f40520f JH |
13 | |
14 | ||
15 | DESCRIPTION | |
16 | ----------- | |
ae0b219c SE |
17 | Read a packed archive (.pack) from the standard input, expanding |
18 | the objects contained within and writing them into the repository in | |
19 | "loose" (one object per file) format. | |
20 | ||
21 | Objects that already exist in the repository will *not* be unpacked | |
46673919 PS |
22 | from the packfile. Therefore, nothing will be unpacked if you use |
23 | this command on a packfile that exists within the target repository. | |
ae0b219c | 24 | |
483bc4f0 | 25 | See linkgit:git-repack[1] for options to generate |
ae0b219c | 26 | new packs and replace existing ones. |
5f40520f | 27 | |
87b7b841 JH |
28 | OPTIONS |
29 | ------- | |
b2309b70 | 30 | -n:: |
e59ade9f SV |
31 | Dry run. Check the pack file without actually unpacking |
32 | the objects. | |
b2309b70 | 33 | |
87b7b841 JH |
34 | -q:: |
35 | The command usually shows percentage progress. This | |
36 | flag suppresses it. | |
37 | ||
f986f2c8 JH |
38 | -r:: |
39 | When unpacking a corrupt packfile, the command dies at | |
40 | the first corruption. This flag tells it to keep going | |
3b67d291 | 41 | and make the best effort to recover as many objects as |
f986f2c8 JH |
42 | possible. |
43 | ||
b41860bf MK |
44 | --strict:: |
45 | Don't write objects with broken content or links. | |
46 | ||
5ad21867 CC |
47 | --max-input-size=<size>:: |
48 | Die, if the pack is larger than <size>. | |
49 | ||
5f40520f JH |
50 | GIT |
51 | --- | |
9e1f0a85 | 52 | Part of the linkgit:git[1] suite |