Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | git-unpack-objects(1) |
| 2 | ===================== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | 0107892 | 2006-03-10 00:31:47 | [diff] [blame] | 6 | git-unpack-objects - Unpack objects from a packed archive |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Junio C Hamano | 15567bc | 2011-07-23 00:51:59 | [diff] [blame] | 11 | [verse] |
Junio C Hamano | daf0aae | 2015-10-26 23:14:30 | [diff] [blame] | 12 | 'git unpack-objects' [-n] [-q] [-r] [--strict] |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 13 | |
| 14 | |
| 15 | DESCRIPTION |
| 16 | ----------- |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [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 |
Junio C Hamano | 1dbca52 | 2015-05-22 20:48:55 | [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. |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [diff] [blame] | 24 | |
Junio C Hamano | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame] | 25 | See linkgit:git-repack[1] for options to generate |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [diff] [blame] | 26 | new packs and replace existing ones. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 27 | |
| 28 | OPTIONS |
| 29 | ------- |
| 30 | -n:: |
Junio C Hamano | 359b40d | 2007-06-07 01:24:01 | [diff] [blame] | 31 | Dry run. Check the pack file without actually unpacking |
| 32 | the objects. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 33 | |
| 34 | -q:: |
| 35 | The command usually shows percentage progress. This |
| 36 | flag suppresses it. |
| 37 | |
Junio C Hamano | fd73d89 | 2006-09-14 07:38:22 | [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 |
| 41 | and make the best effort to recover as many objects as |
| 42 | possible. |
| 43 | |
Junio C Hamano | b78d259 | 2008-04-09 09:39:08 | [diff] [blame] | 44 | --strict:: |
| 45 | Don't write objects with broken content or links. |
| 46 | |
Junio C Hamano | cd45166 | 2016-09-13 00:54:09 | [diff] [blame] | 47 | --max-input-size=<size>:: |
| 48 | Die, if the pack is larger than <size>. |
| 49 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 50 | GIT |
| 51 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 52 | Part of the linkgit:git[1] suite |