]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/git-unpack-objects.txt
GIT-VERSION-FILE: check ./version first.
[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 'git-unpack-objects' [-n] [-q] [-r] <pack-file
12
13
14 DESCRIPTION
15 -----------
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
24 Please see the `git-repack` documentation for options to generate
25 new packs and replace existing ones.
26
27 OPTIONS
28 -------
29 -n::
30 Only list the objects that would be unpacked, don't actually unpack
31 them.
32
33 -q::
34 The command usually shows percentage progress. This
35 flag suppresses it.
36
37 -r::
38 When unpacking a corrupt packfile, the command dies at
39 the first corruption. This flag tells it to keep going
40 and make the best effort to recover as many objects as
41 possible.
42
43
44 Author
45 ------
46 Written by Linus Torvalds <torvalds@osdl.org>
47
48 Documentation
49 -------------
50 Documentation by Junio C Hamano
51
52 GIT
53 ---
54 Part of the gitlink:git[7] suite
55