blob: ff23494e7013c5d491c7a7e2642ec30133906aac [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-unpack-objects(1)
2=====================
3
4NAME
5----
Junio C Hamano01078922006-03-10 00:31:476git-unpack-objects - Unpack objects from a packed archive
Junio C Hamano1a4e8412005-12-27 08:17:237
8
9SYNOPSIS
10--------
Junio C Hamano15567bc2011-07-23 00:51:5911[verse]
Junio C Hamanofce7c7e2008-07-02 03:06:3812'git unpack-objects' [-n] [-q] [-r] [--strict] <pack-file
Junio C Hamano1a4e8412005-12-27 08:17:2313
14
15DESCRIPTION
16-----------
Junio C Hamano1bb569e2006-05-05 23:14:2517Read a packed archive (.pack) from the standard input, expanding
18the objects contained within and writing them into the repository in
19"loose" (one object per file) format.
20
21Objects that already exist in the repository will *not* be unpacked
22from the pack-file. Therefore, nothing will be unpacked if you use
23this command on a pack-file that exists within the target repository.
24
Junio C Hamanofce7c7e2008-07-02 03:06:3825See linkgit:git-repack[1] for options to generate
Junio C Hamano1bb569e2006-05-05 23:14:2526new packs and replace existing ones.
Junio C Hamano1a4e8412005-12-27 08:17:2327
28OPTIONS
29-------
30-n::
Junio C Hamano359b40d2007-06-07 01:24:0131 Dry run. Check the pack file without actually unpacking
32the objects.
Junio C Hamano1a4e8412005-12-27 08:17:2333
34-q::
35The command usually shows percentage progress. This
36flag suppresses it.
37
Junio C Hamanofd73d892006-09-14 07:38:2238-r::
39When unpacking a corrupt packfile, the command dies at
40the first corruption. This flag tells it to keep going
41and make the best effort to recover as many objects as
42possible.
43
Junio C Hamanob78d2592008-04-09 09:39:0844--strict::
45Don't write objects with broken content or links.
46
Junio C Hamano1a4e8412005-12-27 08:17:2347GIT
48---
Junio C Hamanof7c042d2008-06-06 22:50:5349Part of the linkgit:git[1] suite