mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Russell King <rmk+lkml@arm.linux.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@osdl.org>
Subject: Re: Linux v2.6.18-rc3
Date: Mon, 31 Jul 2006 01:02:25 -0700	[thread overview]
Message-ID: <7vzmeq8ani.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20060730083034.GA11360@flint.arm.linux.org.uk> (Russell King's message of "Sun, 30 Jul 2006 09:30:34 +0100")

Russell King <rmk+lkml@arm.linux.org.uk> writes:

> There's something weird in this release - object
> 0021aad5db43ccc0d0356f2f5e4e28446c8b983a appears to change size (or it
> does for me.)

This is a manifestation of a recent harmless change which allows
you to change the compression level for loose objects, which
happened on July 3rd (v1.4.1-g12f6c30).  The blob is compressed
to 6891 bytes with zlib compression level of 6 (new default)
while older git used compression level of 9 (old default,
without a possibility for users to futz with it) which produces
6862 bytes.

Linus is apparently using newer git that uses the new default,
while -mmc, -rmk, and -serial trees are managed with git older
than the said version.

    commit 12f6c308d53509dcb11e309604457d21d60438db
    Author: Joachim B Haga <cjhaga@fys.uio.no>
    Date:   Mon Jul 3 22:11:47 2006 +0200

        Make zlib compression level configurable, and change default.

        With the change in default, "git add ." on kernel dir is about
        twice as fast as before, with only minimal (0.5%) change in
        object size. The speed difference is even more noticeable
        when committing large files, which is now up to 8 times faster.

        The configurability is through setting core.compression = [-1..9]
        which maps to the zlib constants; -1 is the default, 0 is no
        compression, and 1..9 are various speed/size tradeoffs, 9
        being slowest.

        Signed-off-by: Joachim B Haga (cjhaga@fys.uio.no)
        Acked-by: Linus Torvalds <torvalds@osdl.org>
        Signed-off-by: Junio C Hamano <junkio@cox.net>

As you have found out, the objects compressed differently are
fully backward compatible and there is nothing to worry about.


  reply	other threads:[~2006-07-31  8:02 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-30  6:27 Linus Torvalds
2006-07-30  8:30 ` Russell King
2006-07-31  8:02   ` Junio C Hamano [this message]
2006-07-31  4:13 ` Jesse Brandeburg
2006-07-31  4:27   ` Andrew Morton
2006-07-31 14:54     ` Alan Stern
2006-07-31 15:11       ` Andrew Morton
2006-07-31 15:59         ` Alan Stern
2006-07-31 20:34         ` Alan Stern
2006-08-02  4:31           ` Jesse Brandeburg
2006-08-02  4:59             ` Andrew Morton
2006-08-02 19:57               ` Jesse Brandeburg
2006-08-02 20:16                 ` Rafael J. Wysocki
2006-08-02 20:23                   ` Russell King
2006-08-02 20:26                     ` Rafael J. Wysocki
2006-08-02 20:32                     ` Dave Jones
2006-08-02 20:58                       ` Russell King
2006-08-02 21:01                         ` Dave Jones
2006-08-02 21:18                         ` Linus Torvalds
2006-08-02 21:38                           ` Russell King
2006-08-02 22:04                             ` Linus Torvalds
2006-08-02 22:05                             ` Russell King
2006-08-02 20:38                 ` [PATCH 1/2] SRCU: report out-of-memory errors Alan Stern
2006-08-02 20:57                   ` Paul E. McKenney
2006-08-02 20:38                 ` [PATCH 2/2] cpufreq: make the transition_notifier chain use SRCU Alan Stern
2006-08-03 15:58 ` Linux v2.6.18-rc3 Avuton Olrich
2006-08-03 16:40   ` Adrian Bunk
2006-07-30 12:21 Hubert Tonneau
2006-07-30  8:43 ` Arjan van de Ven
2006-07-30  8:51 ` Greg KH
2006-07-30 11:10 ` Alistair John Strachan
2006-07-30 12:56 Hubert Tonneau
2006-07-30 13:03 Hubert Tonneau
2006-07-30  9:32 ` Jiri Slaby
2006-07-30  9:42 ` Greg KH
2006-07-30 16:05 Hubert Tonneau
2006-07-30 16:49 Hubert Tonneau
2006-07-30 17:42 Hubert Tonneau
2006-08-02 10:41 ` Takashi Iwai
2006-08-02 18:35 Hubert Tonneau
2006-08-02 14:58 ` Takashi Iwai
2006-08-04 16:37 Hubert Tonneau
2006-08-04 17:52 ` Greg KH
2006-08-04 17:55   ` Takashi Iwai

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=7vzmeq8ani.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk+lkml@arm.linux.org.uk \
    --cc=torvalds@osdl.org \
    /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

all inboxes | Powered by JetHome®