Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 1 | git-unpack-objects(1) |
| 2 | ===================== |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 3 | |
| 4 | NAME |
| 5 | ---- |
Fredrik Kuivinen | 7bd7f28 | 2006-03-09 17:24:50 +0100 | [diff] [blame] | 6 | git-unpack-objects - Unpack objects from a packed archive |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Martin von Zweigbergk | 7791a1d | 2011-07-01 22:38:26 -0400 | [diff] [blame] | 11 | [verse] |
Junio C Hamano | 33e8fc8 | 2015-10-16 11:27:42 -0700 | [diff] [blame] | 12 | 'git unpack-objects' [-n] [-q] [-r] [--strict] |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 13 | |
| 14 | |
| 15 | DESCRIPTION |
| 16 | ----------- |
sean | ae0b219 | 2006-05-05 15:05:36 -0400 | [diff] [blame] | 17 | Read a packed archive (.pack) from the standard input, expanding |
| 18 | the objects contained within and writing them into the repository in |
| 19 | "loose" (one object per file) format. |
| 20 | |
| 21 | Objects that already exist in the repository will *not* be unpacked |
Patrick Steinhardt | 4667391 | 2015-05-17 08:56:53 +0200 | [diff] [blame] | 22 | from the packfile. Therefore, nothing will be unpacked if you use |
| 23 | this command on a packfile that exists within the target repository. |
sean | ae0b219 | 2006-05-05 15:05:36 -0400 | [diff] [blame] | 24 | |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 25 | See linkgit:git-repack[1] for options to generate |
sean | ae0b219 | 2006-05-05 15:05:36 -0400 | [diff] [blame] | 26 | new packs and replace existing ones. |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 27 | |
Junio C Hamano | 87b7b84 | 2005-08-12 01:45:52 -0700 | [diff] [blame] | 28 | OPTIONS |
| 29 | ------- |
Nikolai Weibull | b2309b7 | 2005-11-15 00:20:01 +0100 | [diff] [blame] | 30 | -n:: |
Sam Vilain | e59ade9 | 2007-06-07 09:23:16 +1200 | [diff] [blame] | 31 | Dry run. Check the pack file without actually unpacking |
| 32 | the objects. |
Nikolai Weibull | b2309b7 | 2005-11-15 00:20:01 +0100 | [diff] [blame] | 33 | |
Junio C Hamano | 87b7b84 | 2005-08-12 01:45:52 -0700 | [diff] [blame] | 34 | -q:: |
| 35 | The command usually shows percentage progress. This |
| 36 | flag suppresses it. |
| 37 | |
Junio C Hamano | f986f2c | 2006-09-03 22:55:54 -0700 | [diff] [blame] | 38 | -r:: |
| 39 | When unpacking a corrupt packfile, the command dies at |
| 40 | the first corruption. This flag tells it to keep going |
Junio C Hamano | 3b67d29 | 2006-09-13 12:59:20 -0700 | [diff] [blame] | 41 | and make the best effort to recover as many objects as |
Junio C Hamano | f986f2c | 2006-09-03 22:55:54 -0700 | [diff] [blame] | 42 | possible. |
| 43 | |
Martin Koegler | b41860b | 2008-02-25 22:46:11 +0100 | [diff] [blame] | 44 | --strict:: |
| 45 | Don't write objects with broken content or links. |
| 46 | |
Christian Couder | 5ad2186 | 2016-08-24 20:41:56 +0200 | [diff] [blame] | 47 | --max-input-size=<size>:: |
| 48 | Die, if the pack is larger than <size>. |
| 49 | |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 50 | GIT |
| 51 | --- |
Christian Couder | 9e1f0a8 | 2008-06-06 09:07:32 +0200 | [diff] [blame] | 52 | Part of the linkgit:git[1] suite |