]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-unpack-objects.txt
Merge git://git.bogomips.org/git-svn
[thirdparty/git.git] / Documentation / git-unpack-objects.txt
CommitLineData
5f40520f
JH
1git-unpack-objects(1)
2=====================
5f40520f
JH
3
4NAME
5----
7bd7f280 6git-unpack-objects - Unpack objects from a packed archive
5f40520f
JH
7
8
9SYNOPSIS
10--------
b1889c36 11'git unpack-objects' [-n] [-q] [-r] [--strict] <pack-file
5f40520f
JH
12
13
14DESCRIPTION
15-----------
ae0b219c
SE
16Read a packed archive (.pack) from the standard input, expanding
17the objects contained within and writing them into the repository in
18"loose" (one object per file) format.
19
20Objects that already exist in the repository will *not* be unpacked
21from the pack-file. Therefore, nothing will be unpacked if you use
22this command on a pack-file that exists within the target repository.
23
483bc4f0 24See linkgit:git-repack[1] for options to generate
ae0b219c 25new packs and replace existing ones.
5f40520f 26
87b7b841
JH
27OPTIONS
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
46GIT
47---
9e1f0a85 48Part of the linkgit:git[1] suite