diff options
author | Jeff King <peff@peff.net> | 2016-06-13 00:33:54 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-14 13:57:38 -0700 |
commit | 6a7bcb54714c55234a292047ea6bb657bd5ab1b5 (patch) | |
tree | 32e80300baccc09231b76af6f54d70e14bcca063 /Documentation/git-repack.txt | |
parent | 05219a1276341e72d8082d76b7f5ed394b7437a4 (diff) | |
download | git-6a7bcb54714c55234a292047ea6bb657bd5ab1b5.tar.gz |
repack: document --unpack-unreachable option
This was added back in 7e52f56 (gc: do not explode objects
which will be immediately pruned, 2012-04-07), but not
documented at the time, since it was an internal detail
between git-gc and git-repack. However, as people with
complicated setups may want to effectively reimplement the
steps of git-gc themselves, it is nice for us to document
these interfaces.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-repack.txt')
-rw-r--r-- | Documentation/git-repack.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt index b9c02ce481..cde7b4441d 100644 --- a/Documentation/git-repack.txt +++ b/Documentation/git-repack.txt @@ -128,6 +128,12 @@ other objects in that pack they already have locally. with `-b` or `repack.writeBitmaps`, as it ensures that the bitmapped packfile has the necessary objects. +--unpack-unreachable=<when>:: + When loosening unreachable objects, do not bother loosening any + objects older than `<when>`. This can be used to optimize out + the write of any objects that would be immediately pruned by + a follow-up `git prune`. + Configuration ------------- |