From: Damien Robert <damien.olivier.robert@gmail.com>
To: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Cc: Damien Robert <damien.olivier.robert+git@gmail.com>
Subject: [PATCH v2 3/3] doc: add a short explanation for git-repack options
Date: Thu, 12 Mar 2020 18:09:31 +0100 [thread overview]
Message-ID: <20200312170931.2392490-4-damien.olivier.robert+git@gmail.com> (raw)
In-Reply-To: <20200312170931.2392490-1-damien.olivier.robert+git@gmail.com>
For some git-repack options passed on to git-pack-objects, there was
only a link to git-pack-objects(1). Add a short documentation explaining
their meaning so that the reader does not have to consult another man
page.
We also explain that unreachable objects are not packed.
Signed-off-by: Damien Robert <damien.olivier.robert+git@gmail.com>
---
Documentation/git-repack.txt | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
index 0962562c17..8f7f1140c3 100644
--- a/Documentation/git-repack.txt
+++ b/Documentation/git-repack.txt
@@ -14,9 +14,9 @@ SYNOPSIS
DESCRIPTION
-----------
-This command is used to combine all objects that do not currently
-reside in a "pack", into a pack. It can also be used to re-organize
-existing packs into a single, more efficient pack.
+This command is used to combine all objects (except unreachable ones) that
+do not currently reside in a "pack", into a pack. It can also be used to
+re-organize existing packs into a single, more efficient pack.
A pack is a collection of objects, individually compressed, with
delta compression applied, stored in a single file, with an
@@ -66,18 +66,27 @@ to the new separate pack will be written.
-l::
Pass the `--local` option to 'git pack-objects'. See
linkgit:git-pack-objects[1].
+ This causes an object that is borrowed from an alternate
+ object store to be ignored even if it would have otherwise been
+ packed.
-f::
Pass the `--no-reuse-delta` option to `git pack-objects`, see
linkgit:git-pack-objects[1].
+ The repack will not reuse existing deltas but compute them from
+ scratch.
-F::
Pass the `--no-reuse-object` option to `git pack-objects`, see
linkgit:git-pack-objects[1].
+ The repack will not reuse existing object data at all, including
+ non deltified object, forcing recompression of everything.
-q::
Pass the `-q` option to 'git pack-objects'. See
linkgit:git-pack-objects[1].
+ This flag makes the command not to report its progress
+ on the standard error stream.
-n::
Do not update the server information with
--
Patched on top of v2.26.0-rc1-6-ga56d361f66 (git version 2.25.1)
next prev parent reply other threads:[~2020-03-12 17:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-28 15:43 [PATCH 0/2] Documentation of pack and repack Damien Robert
2020-02-28 15:43 ` [PATCH 1/2] doc: update the documentation of pack-objects " Damien Robert
2020-03-02 18:57 ` Junio C Hamano
2020-03-03 17:41 ` Damien Robert
2020-03-03 18:49 ` Junio C Hamano
2020-03-03 21:23 ` Damien Robert
2020-03-03 22:29 ` Junio C Hamano
2020-03-12 17:09 ` [PATCH v2 0/3] Documentation of pack " Damien Robert
2020-03-12 17:09 ` [PATCH v2 1/3] pack-objects: change the name of add_objects_in_unpacked_packs Damien Robert
2020-03-12 17:09 ` [PATCH v2 2/3] doc: update the documentation of pack-objects and repack Damien Robert
2020-03-12 17:09 ` Damien Robert [this message]
2020-03-25 22:15 ` [PATCH v2 0/3] Documentation of pack " Damien Robert
2020-03-27 22:21 ` Junio C Hamano
2020-02-28 15:43 ` [PATCH 2/2] pack-objects: change the name of add_objects_in_unpacked_packs Damien Robert
2020-02-28 16:01 ` Damien Robert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200312170931.2392490-4-damien.olivier.robert+git@gmail.com \
--to=damien.olivier.robert@gmail.com \
--cc=damien.olivier.robert+git@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).