blob: b3de50d7106819f4dee92b3508c7713d170832ce [file] [log] [blame]
Junio C Hamano5f405202005-07-14 00:08:05 -07001git-unpack-objects(1)
2=====================
Junio C Hamano5f405202005-07-14 00:08:05 -07003
4NAME
5----
Fredrik Kuivinen7bd7f282006-03-09 17:24:50 +01006git-unpack-objects - Unpack objects from a packed archive
Junio C Hamano5f405202005-07-14 00:08:05 -07007
8
9SYNOPSIS
10--------
Martin von Zweigbergk7791a1d2011-07-01 22:38:26 -040011[verse]
Junio C Hamano33e8fc82015-10-16 11:27:42 -070012'git unpack-objects' [-n] [-q] [-r] [--strict]
Junio C Hamano5f405202005-07-14 00:08:05 -070013
14
15DESCRIPTION
16-----------
seanae0b2192006-05-05 15:05:36 -040017Read 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
Patrick Steinhardt46673912015-05-17 08:56:53 +020022from the packfile. Therefore, nothing will be unpacked if you use
23this command on a packfile that exists within the target repository.
seanae0b2192006-05-05 15:05:36 -040024
Jonathan Nieder483bc4f2008-06-30 13:56:34 -050025See linkgit:git-repack[1] for options to generate
seanae0b2192006-05-05 15:05:36 -040026new packs and replace existing ones.
Junio C Hamano5f405202005-07-14 00:08:05 -070027
Junio C Hamano87b7b842005-08-12 01:45:52 -070028OPTIONS
29-------
Nikolai Weibullb2309b72005-11-15 00:20:01 +010030-n::
Sam Vilaine59ade92007-06-07 09:23:16 +120031 Dry run. Check the pack file without actually unpacking
32 the objects.
Nikolai Weibullb2309b72005-11-15 00:20:01 +010033
Junio C Hamano87b7b842005-08-12 01:45:52 -070034-q::
35 The command usually shows percentage progress. This
36 flag suppresses it.
37
Junio C Hamanof986f2c2006-09-03 22:55:54 -070038-r::
39 When unpacking a corrupt packfile, the command dies at
40 the first corruption. This flag tells it to keep going
Junio C Hamano3b67d292006-09-13 12:59:20 -070041 and make the best effort to recover as many objects as
Junio C Hamanof986f2c2006-09-03 22:55:54 -070042 possible.
43
Martin Koeglerb41860b2008-02-25 22:46:11 +010044--strict::
45 Don't write objects with broken content or links.
46
Christian Couder5ad21862016-08-24 20:41:56 +020047--max-input-size=<size>::
48 Die, if the pack is larger than <size>.
49
Junio C Hamano5f405202005-07-14 00:08:05 -070050GIT
51---
Christian Couder9e1f0a82008-06-06 09:07:32 +020052Part of the linkgit:git[1] suite