]>
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 | -------- | |
b1889c36 | 11 | 'git unpack-objects' [-n] [-q] [-r] [--strict] <pack-file |
5f40520f JH |
12 | |
13 | ||
14 | DESCRIPTION | |
15 | ----------- | |
ae0b219c SE |
16 | Read a packed archive (.pack) from the standard input, expanding |
17 | the objects contained within and writing them into the repository in | |
18 | "loose" (one object per file) format. | |
19 | ||
20 | Objects that already exist in the repository will *not* be unpacked | |
21 | from the pack-file. Therefore, nothing will be unpacked if you use | |
22 | this command on a pack-file that exists within the target repository. | |
23 | ||
483bc4f0 | 24 | See linkgit:git-repack[1] for options to generate |
ae0b219c | 25 | new packs and replace existing ones. |
5f40520f | 26 | |
87b7b841 JH |
27 | OPTIONS |
28 | ------- | |
b2309b70 | 29 | -n:: |
e59ade9f SV |
30 | Dry run. Check the pack file without actually unpacking |
31 | the objects. | |
b2309b70 | 32 | |
87b7b841 JH |
33 | -q:: |
34 | The command usually shows percentage progress. This | |
35 | flag suppresses it. | |
36 | ||
f986f2c8 JH |
37 | -r:: |
38 | When unpacking a corrupt packfile, the command dies at | |
39 | the first corruption. This flag tells it to keep going | |
3b67d291 | 40 | and make the best effort to recover as many objects as |
f986f2c8 JH |
41 | possible. |
42 | ||
b41860bf MK |
43 | --strict:: |
44 | Don't write objects with broken content or links. | |
45 | ||
5f40520f JH |
46 | |
47 | Author | |
48 | ------ | |
49 | Written by Linus Torvalds <torvalds@osdl.org> | |
50 | ||
51 | Documentation | |
52 | ------------- | |
53 | Documentation by Junio C Hamano | |
54 | ||
55 | GIT | |
56 | --- | |
9e1f0a85 | 57 | Part of the linkgit:git[1] suite |