Skip to content

Commit 38d697a

Browse files
Sam Vilaingitster
authored andcommitted
repack: improve documentation on -a option
Some minor enhancements to the git-repack manual page. Signed-off-by: Sam Vilain <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b833651 commit 38d697a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Documentation/git-repack.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ DESCRIPTION
1414
-----------
1515

1616
This script is used to combine all objects that do not currently
17-
reside in a "pack", into a pack.
17+
reside in a "pack", into a pack. It can also be used to re-organise
18+
existing packs into a single, more efficient pack.
1819

1920
A pack is a collection of objects, individually compressed, with
2021
delta compression applied, stored in a single file, with an
@@ -28,11 +29,13 @@ OPTIONS
2829

2930
-a::
3031
Instead of incrementally packing the unpacked objects,
31-
pack everything available into a single pack.
32+
pack everything referenced into a single pack.
3233
Especially useful when packing a repository that is used
3334
for private development and there is no need to worry
34-
about people fetching via dumb file transfer protocols
35-
from it. Use with '-d'.
35+
about people fetching via dumb protocols from it. Use
36+
with '-d'. This will clean up the objects that `git prune`
37+
leaves behind, but `git fsck --full` shows as
38+
dangling.
3639

3740
-d::
3841
After packing, if the newly created packs make some

0 commit comments

Comments
 (0)