From: sean Date: Fri, 5 May 2006 19:05:36 +0000 (-0400) Subject: Update git-unpack-objects documentation. X-Git-Tag: v1.4.0-rc1~173 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=ae0b219c8e32aa8f34401252d845916b136a467b;hp=e994004f93a481414b9065ac24edd0807d1c311e;p=git.git Update git-unpack-objects documentation. Document that git-unpack-objects will not produce any results when used on a pack that exists in a repository; move it first. Signed-off-by: Sean Estabrooks Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-unpack-objects.txt b/Documentation/git-unpack-objects.txt index 18280628..c20b38b0 100644 --- a/Documentation/git-unpack-objects.txt +++ b/Documentation/git-unpack-objects.txt @@ -13,9 +13,16 @@ SYNOPSIS DESCRIPTION ----------- -Reads a packed archive (.pack) from the standard input, and -expands the objects contained in the pack into "one-file -one-object" format in $GIT_OBJECT_DIRECTORY. +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. + +Please see the `git-repack` documentation for options to generate +new packs and replace existing ones. OPTIONS -------