Skip to content

Commit

Permalink
Documentation/git-repack.txt: document new -A behaviour
Browse files Browse the repository at this point in the history
Add paragraph for the -A option, and describe the new behaviour
that makes unreachable objects loose.

Signed-off-by: Chris Frey <cdfrey@foursquare.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Chris Frey authored and Junio C Hamano committed May 16, 2008
1 parent ca11b21 commit bbefaa1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Documentation/git-repack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-repack - Pack unpacked objects in a repository

SYNOPSIS
--------
'git-repack' [-a] [-d] [-f] [-l] [-n] [-q] [--window=N] [--depth=N]
'git-repack' [-a] [-A] [-d] [-f] [-l] [-n] [-q] [--window=N] [--depth=N]

DESCRIPTION
-----------
Expand Down Expand Up @@ -37,6 +37,18 @@ OPTIONS
leaves behind, but `git fsck --full` shows as
dangling.

-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
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
with the next linkgit:git-gc[1].

-d::
After packing, if the newly created packs make some
existing packs redundant, remove the redundant packs.
Expand Down

0 comments on commit bbefaa1

Please sign in to comment.