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 | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame^] | 11 | 'git unpack-objects' [-n] [-q] [-r] [--strict] <pack-file |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 12 | |
| 13 | |
| 14 | DESCRIPTION |
| 15 | ----------- |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [diff] [blame] | 16 | Read a packed archive (.pack) from the standard input, expanding |
| 17 | the objects contained within and writing them into the repository in |
| 18 | "loose" (one object per file) format. |
| 19 | |
| 20 | Objects that already exist in the repository will *not* be unpacked |
| 21 | from the pack-file. Therefore, nothing will be unpacked if you use |
| 22 | this command on a pack-file that exists within the target repository. |
| 23 | |
Junio C Hamano | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame^] | 24 | See linkgit:git-repack[1] for options to generate |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [diff] [blame] | 25 | new packs and replace existing ones. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 26 | |
| 27 | OPTIONS |
| 28 | ------- |
| 29 | -n:: |
Junio C Hamano | 359b40d | 2007-06-07 01:24:01 | [diff] [blame] | 30 | Dry run. Check the pack file without actually unpacking |
| 31 | the objects. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 32 | |
| 33 | -q:: |
| 34 | The command usually shows percentage progress. This |
| 35 | flag suppresses it. |
| 36 | |
Junio C Hamano | fd73d89 | 2006-09-14 07:38:22 | [diff] [blame] | 37 | -r:: |
| 38 | When unpacking a corrupt packfile, the command dies at |
| 39 | the first corruption. This flag tells it to keep going |
| 40 | and make the best effort to recover as many objects as |
| 41 | possible. |
| 42 | |
Junio C Hamano | b78d259 | 2008-04-09 09:39:08 | [diff] [blame] | 43 | --strict:: |
| 44 | Don't write objects with broken content or links. |
| 45 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 46 | |
| 47 | Author |
| 48 | ------ |
| 49 | Written by Linus Torvalds <torvalds@osdl.org> |
| 50 | |
| 51 | Documentation |
| 52 | ------------- |
| 53 | Documentation by Junio C Hamano |
| 54 | |
| 55 | GIT |
| 56 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 57 | Part of the linkgit:git[1] suite |