]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-unpack-objects.txt
fsck.c: fix bogus "empty tree" check
[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--------
f986f2c8 11'git-unpack-objects' [-n] [-q] [-r] <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
24Please see the `git-repack` documentation for options to generate
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
5f40520f
JH
43
44Author
45------
46Written by Linus Torvalds <torvalds@osdl.org>
47
48Documentation
49-------------
50Documentation by Junio C Hamano
51
52GIT
53---
5162e697 54Part of the linkgit:git[7] suite