X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-unpack-objects.txt;h=c20b38b08adca264316f35b064153213a0bfd7c3;hb=b0ec2db86c94ac9dae0cea5f66ab34143c40ef7c;hp=18280628a15510d098faf0289fbf61bae7e1d688;hpb=0107892cfadf8a2ef6989005b4a2efd94df310aa;p=git.git diff --git a/git-unpack-objects.txt b/git-unpack-objects.txt index 18280628..c20b38b0 100644 --- a/git-unpack-objects.txt +++ b/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 -------