repack: improve documentation on -a option
Some minor enhancements to the git-repack manual page. Signed-off-by: Sam Vilain <sam.vilain@catalyst.net.nz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Sam Vilain committed
Jun 30, 2007 at 20:56 UTC
38d697a156f6e6702cfe9d460296cb521e3fb1b2
1 file changed
+7
-4
Documentation/git-repack.txt
+7
-4
@@ -14,7 +14,8 @@ DESCRIPTION
14
-----------
15
16
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.
19
20
A pack is a collection of objects, individually compressed, with
21
delta compression applied, stored in a single file, with an
@@ -28,11 +29,13 @@ OPTIONS
29
30
-a::
31
Instead of incrementally packing the unpacked objects,
31
- pack everything available into a single pack.
32
+ pack everything referenced into a single pack.
33
Especially useful when packing a repository that is used
34
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.
39
40
-d::
41
After packing, if the newly created packs make some