X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-pack-objects.txt;h=d1e93dbb372624d68fa96eb8bed141f1e76f0308;hb=bce8230d5d897a738cc004954df71f50a40295db;hp=ae6e88d433981659053911069070befb85e96ed0;hpb=5f40520f8c4ca24b29295a36c7a7b6059ad5a888;p=git.git diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt index ae6e88d4..d1e93dbb 100644 --- a/Documentation/git-pack-objects.txt +++ b/Documentation/git-pack-objects.txt @@ -1,6 +1,5 @@ git-pack-objects(1) =================== -v0.1, July 2005 NAME ---- @@ -9,7 +8,7 @@ git-pack-objects - Create a packed archive of objects. SYNOPSIS -------- -'git-pack-objects' [--incremental] [--window=N] [--depth=N] {--stdout | base-name} < object-list +'git-pack-objects' [--local] [--incremental] [--window=N] [--depth=N] {--stdout | base-name} < object-list DESCRIPTION @@ -29,9 +28,9 @@ one-object" format; this is typically done by the smart-pull commands when a pack is created on-the-fly for efficient network transport by their peers. -Placing both in pack subdirectory of $GIT_OBJECT_DIRECTORY (or +Placing both in the pack/ subdirectory of $GIT_OBJECT_DIRECTORY (or any of the directories on $GIT_ALTERNATE_OBJECT_DIRECTORIES) -enables GIT to read from such an archive. +enables git to read from such an archive. OPTIONS @@ -65,6 +64,11 @@ base-name:: This flag causes an object already in a pack ignored even if it appears in the standard input. +--local:: + This flag is similar to `--incremental`; instead of + ignoring all packed objects, it only ignores objects + that are packed and not in the local object store + (i.e. borrowed from an alternate). Author ------ @@ -74,7 +78,12 @@ Documentation ------------- Documentation by Junio C Hamano +See-Also +-------- +gitlink:git-repack[1] +gitlink:git-prune-packed[1] + GIT --- -Part of the link:git.html[git] suite +Part of the gitlink:git[7] suite