repack: add `repack.packKeptObjects` config var
[gitweb.git] / Documentation / git-repack.txt
index dad186c694cb6b03ec64f3767abc84f83cacc350..1eedf880ebadae3c95388d930c67296fc9a57088 100644 (file)
@@ -117,6 +117,14 @@ other objects in that pack they already have locally.
        must be able to refer to all reachable objects. This option
        overrides the setting of `pack.writebitmaps`.
 
+--pack-kept-objects::
+       Include objects in `.keep` files when repacking.  Note that we
+       still do not delete `.keep` packs after `pack-objects` finishes.
+       This means that we may duplicate objects, but this makes the
+       option safe to use when there are concurrent pushes or fetches.
+       This option is generally only useful if you are writing bitmaps
+       with `-b` or `pack.writebitmaps`, as it ensures that the
+       bitmapped packfile has the necessary objects.
 
 Configuration
 -------------