]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/git-unpack-objects.txt
Merge branch 'js/t3404-typofix' into maint
[thirdparty/git.git] / Documentation / git-unpack-objects.txt
1 git-unpack-objects(1)
2 =====================
3
4 NAME
5 ----
6 git-unpack-objects - Unpack objects from a packed archive
7
8
9 SYNOPSIS
10 --------
11 [verse]
12 'git unpack-objects' [-n] [-q] [-r] [--strict]
13
14
15 DESCRIPTION
16 -----------
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
22 from the packfile. Therefore, nothing will be unpacked if you use
23 this command on a packfile that exists within the target repository.
24
25 See linkgit:git-repack[1] for options to generate
26 new packs and replace existing ones.
27
28 OPTIONS
29 -------
30 -n::
31 Dry run. Check the pack file without actually unpacking
32 the objects.
33
34 -q::
35 The command usually shows percentage progress. This
36 flag suppresses it.
37
38 -r::
39 When unpacking a corrupt packfile, the command dies at
40 the first corruption. This flag tells it to keep going
41 and make the best effort to recover as many objects as
42 possible.
43
44 --strict::
45 Don't write objects with broken content or links.
46
47 --max-input-size=<size>::
48 Die, if the pack is larger than <size>.
49
50 GIT
51 ---
52 Part of the linkgit:git[1] suite