Make 'diff_populate_filespec()' use the new 'strbuf_readlink()'
[git/dscho.git] / Documentation / git-unpack-objects.txt
blob36d1038056101a459a33e32b6729d75e03f127ce
1 git-unpack-objects(1)
2 =====================
4 NAME
5 ----
6 git-unpack-objects - Unpack objects from a packed archive
9 SYNOPSIS
10 --------
11 'git unpack-objects' [-n] [-q] [-r] [--strict] <pack-file
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.
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.
24 See linkgit:git-repack[1] for options to generate
25 new packs and replace existing ones.
27 OPTIONS
28 -------
29 -n::
30         Dry run.  Check the pack file without actually unpacking
31         the objects.
33 -q::
34         The command usually shows percentage progress.  This
35         flag suppresses it.
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.
43 --strict::
44         Don't write objects with broken content or links.
47 Author
48 ------
49 Written by Linus Torvalds <torvalds@osdl.org>
51 Documentation
52 -------------
53 Documentation by Junio C Hamano
55 GIT
56 ---
57 Part of the linkgit:git[1] suite