blob: b3de50d7106819f4dee92b3508c7713d170832ce [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 Hamanodaf0aae2015-10-26 23:14:3012'git unpack-objects' [-n] [-q] [-r] [--strict]
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
Junio C Hamano1dbca522015-05-22 20:48:5522from the packfile. Therefore, nothing will be unpacked if you use
23this command on a packfile that exists within the target repository.
Junio C Hamano1bb569e2006-05-05 23:14:2524
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 Hamanocd451662016-09-13 00:54:0947--max-input-size=<size>::
48Die, if the pack is larger than <size>.
49
Junio C Hamano1a4e8412005-12-27 08:17:2350GIT
51---
Junio C Hamanof7c042d2008-06-06 22:50:5352Part of the linkgit:git[1] suite