2005-07-14 15:08:05 +08:00
|
|
|
git-unpack-objects(1)
|
|
|
|
=====================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2006-03-10 00:24:50 +08:00
|
|
|
git-unpack-objects - Unpack objects from a packed archive
|
2005-07-14 15:08:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2008-06-30 14:09:04 +08:00
|
|
|
'git unpack-objects' [-n] [-q] [-r] [--strict] <pack-file
|
2005-07-14 15:08:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2006-05-06 03:05:36 +08:00
|
|
|
Read a packed archive (.pack) from the standard input, expanding
|
|
|
|
the objects contained within and writing them into the repository in
|
|
|
|
"loose" (one object per file) format.
|
|
|
|
|
|
|
|
Objects that already exist in the repository will *not* be unpacked
|
|
|
|
from the pack-file. Therefore, nothing will be unpacked if you use
|
|
|
|
this command on a pack-file that exists within the target repository.
|
|
|
|
|
2008-07-01 02:56:34 +08:00
|
|
|
See linkgit:git-repack[1] for options to generate
|
2006-05-06 03:05:36 +08:00
|
|
|
new packs and replace existing ones.
|
2005-07-14 15:08:05 +08:00
|
|
|
|
2005-08-12 16:45:52 +08:00
|
|
|
OPTIONS
|
|
|
|
-------
|
2005-11-15 07:20:01 +08:00
|
|
|
-n::
|
2007-06-07 05:23:16 +08:00
|
|
|
Dry run. Check the pack file without actually unpacking
|
|
|
|
the objects.
|
2005-11-15 07:20:01 +08:00
|
|
|
|
2005-08-12 16:45:52 +08:00
|
|
|
-q::
|
|
|
|
The command usually shows percentage progress. This
|
|
|
|
flag suppresses it.
|
|
|
|
|
2006-09-04 13:55:54 +08:00
|
|
|
-r::
|
|
|
|
When unpacking a corrupt packfile, the command dies at
|
|
|
|
the first corruption. This flag tells it to keep going
|
2006-09-14 03:59:20 +08:00
|
|
|
and make the best effort to recover as many objects as
|
2006-09-04 13:55:54 +08:00
|
|
|
possible.
|
|
|
|
|
2008-02-26 05:46:11 +08:00
|
|
|
--strict::
|
|
|
|
Don't write objects with broken content or links.
|
|
|
|
|
2005-07-14 15:08:05 +08:00
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
|
|
|
Written by Linus Torvalds <torvalds@osdl.org>
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
-------------
|
|
|
|
Documentation by Junio C Hamano
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 15:07:32 +08:00
|
|
|
Part of the linkgit:git[1] suite
|