On Mon, 27 Sep 2010, Jan KrÃger wrote: > 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@xxxxx> Acked-by: Nicolas Pitre <nico@xxxxxxxxxxx> > --- > > --- Nicolas Pitre <nico@xxxxxxxxxxx> 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 > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html >