From: Steven Grimm <koreth@midwinter.com>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: Draft v1.5.0 release notes
Date: Mon, 01 Jan 2007 18:31:04 -0800 [thread overview]
Message-ID: <4599C3E8.5060209@midwinter.com> (raw)
In-Reply-To: <7vlkkm47eg.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> - There is a configuration variable core.legacyheaders that
> changes the format of loose objects so that they are more
> efficient to pack and to send out of the repository over git
> native protocol, since v1.4.2. However, this format cannot
> be read by git older than that version; people fetching from
> your repository using older clients over dumb transports
> (e.g. http) using older versions of git will also be
> affected. This is not enabled by default.
>
> - Since v1.4.3, configuration repack.usedeltabaseoffset allows
> packfile to be created in more space efficient format, which
> cannot be read by git older than that version. This is not
> enabled by default.
>
For people in non-public development environments, where there's
absolutely no possibility of someone hitting a repo with an old client,
presumably these options should both be enabled. I wonder if it makes
sense to add an option to git-init-db to create a configuration file
with all the latest stuff enabled -- or better still, something like
git-init-db --min-version=1.4.2
that would enable all the non-backward-compatible stuff in the newly
created repository. And then a special case "--min-version=current" to
use all the most optimal settings for the current release, useful in
environments like corporate LANs where the tool versions are centrally
managed.
Likewise, something like
git-repo-config --min-version=1.5.0
could be used to set all the options in an existing repo (presumably
this would not allow you to move backwards, just upgrade) for cases
where clients are known to have all upgraded to at least a particular
version.
Maybe that last purpose would be better served by a "git-upgrade"
command that, for example, could rebuild old packfiles in the new more
efficient format and write out the appropriate configuration. Though one
would have to take pains to point out that running that command was NOT
a required step when upgrading to a new git release, and would in fact
be a bad idea for projects being accessed by older clients.
-Steve
next prev parent reply other threads:[~2007-01-02 2:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-02 0:08 Draft v1.5.0 release notes Junio C Hamano
2007-01-02 2:31 ` Steven Grimm [this message]
2007-01-02 2:57 ` Shawn O. Pearce
2007-01-02 7:22 ` David Kågedal
2007-01-02 8:23 ` Shawn O. Pearce
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=4599C3E8.5060209@midwinter.com \
--to=koreth@midwinter.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.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.