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