From: "Jan Krüger" <jk@jk.gs>
To: "Jan Krüger" <jk@jk.gs>
Cc: Nicolas Pitre <nico@fluxnic.net>, Git ML <git@vger.kernel.org>,
Junio C Hamano <gitster@pobox.com>
Subject: [Alt. PATCH 2/2] Documentation: pack.compression: explain how to recompress
Date: Mon, 27 Sep 2010 14:21:58 +0200 [thread overview]
Message-ID: <20100927142158.487b8f19@jk.gs> (raw)
In-Reply-To: <20100927141936.590d71b3@jk.gs>
Add a small remark about how to recompress all existing objects after
changing the compression level for pack files.
Signed-off-by: Jan Krüger <jk@jk.gs>
---
--- Nicolas Pitre <nico@fluxnic.net> wrote:
> In addition to that change, perhaps a note could be added to the
> documentation for pack.compression indicating that for the new
> setting to take effect for existing packs, they must be repacked with
> -F.
Good idea. Here it is.
Documentation/config.txt | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index d294dd6..506477b 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1465,6 +1465,10 @@ pack.compression::
not set, defaults to -1, the zlib default, which is "a default
compromise between speed and compression (currently equivalent
to level 6)."
++
+Note that changing the compression level will not automatically recompress
+all existing objects. You can force recompression by passing the -F option
+to linkgit:git-repack[1].
pack.deltaCacheSize::
The maximum memory in bytes used for caching deltas in
--
1.7.2.3.392.g02377.dirty
next prev parent reply other threads:[~2010-09-27 12:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-27 11:31 [PATCH] repack: add -F option that passes --no-reuse-delta to pack-objects Jan Krüger
2010-09-27 11:53 ` Nicolas Pitre
2010-09-27 12:19 ` [Alt. PATCH 1/2] repack: add -F flag to let user choose between --no-reuse-delta/object Jan Krüger
2010-09-27 12:21 ` Jan Krüger [this message]
2010-09-27 14:10 ` [Alt. PATCH 2/2] Documentation: pack.compression: explain how to recompress Nicolas Pitre
2010-09-27 14:10 ` [Alt. PATCH 1/2] repack: add -F flag to let user choose between --no-reuse-delta/object Nicolas Pitre
2010-09-27 16:50 ` [PATCH] repack: add -F option that passes --no-reuse-delta to pack-objects Junio C Hamano
2010-09-28 6:44 ` Jan Krüger
2010-09-28 9:49 ` Junio C Hamano
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=20100927142158.487b8f19@jk.gs \
--to=jk@jk.gs \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=nico@fluxnic.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.