X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-repack.txt;h=c9257a10c956432fdd2e456c7f910cc2996c1534;hb=974e6e42f7a66b69bd684af4f637ab064acfdf92;hp=bbe1485a97979830f883377c2dd55c6a90eb8a09;hpb=b43b73666be32ecdc27384d67dc88e4b4869efa1;p=git.git diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt index bbe1485a9..c9257a10c 100644 --- a/Documentation/git-repack.txt +++ b/Documentation/git-repack.txt @@ -31,19 +31,21 @@ OPTIONS Instead of incrementally packing the unpacked objects, pack everything referenced into a single pack. Especially useful when packing a repository that is used - for private development and there is no need to worry - about people fetching via dumb protocols from it. Use + for private development. Use with '-d'. This will clean up the objects that `git prune` leaves behind, but `git fsck --full` shows as dangling. ++ +Note that users fetching over dumb protocols will have to fetch the +whole new pack in order to get any contained object, no matter how many +other objects in that pack they already have locally. -A:: - Same as `-a`, but any unreachable objects in a previous - pack become loose, unpacked objects, instead of being - left in the old pack. Unreachable objects are never - intentionally added to a pack, even when repacking. - When used with '-d', this option - prevents unreachable objects from being immediately + Same as `-a`, unless '-d' is used. Then any unreachable + objects in a previous pack become loose, unpacked objects, + instead of being left in the old pack. Unreachable objects + are never intentionally added to a pack, even when repacking. + This option prevents unreachable objects from being immediately deleted by way of being left in the old pack and then removed. Instead, the loose unreachable objects will be pruned according to normal expiry rules