Code

Documentation: pack-objects: Clarify --local's semantics.
authorNelson Elhage <nelhage@MIT.EDU>
Fri, 19 Feb 2010 03:29:30 +0000 (22:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 20 Feb 2010 17:24:19 +0000 (09:24 -0800)
The current documentation suggests that --local also ignores any
objects in local packs, which is incorrect. Change the language to be
clearer and more parallel to the other options that ignore objects.

While we're at it, fix a trivial error in --incremental's
documentation.

Signed-off-by: Nelson Elhage <nelhage@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-pack-objects.txt

index 034caedc39b6438d64fdc49ae93c82912e40446c..769f1de6b67c5e02b241b840560f81972cc490f0 100644 (file)
@@ -119,14 +119,13 @@ base-name::
        standard input.
 
 --incremental::
-       This flag causes an object already in a pack ignored
+       This flag causes an object already in a pack to be ignored
        even if it appears in the standard input.
 
 --local::
-       This flag is similar to `--incremental`; instead of
-       ignoring all packed objects, it only ignores objects
-       that are packed and/or not in the local object store
-       (i.e. borrowed from an alternate).
+       This flag causes an object that is borrowed from an alternate
+       object store to be ignored even if it appears in the standard
+       input.
 
 --non-empty::
         Only create a packed archive if it would contain at