git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Repository format version check series.
@ 2005-11-26  1:15 Junio C Hamano
  2005-11-27 10:56 ` What's in master and pu (aka when will 1.0rc4 be out) Junio C Hamano
  2005-11-29  6:42 ` [PATCH 0/4] Repository format version check series Martin Atukunda
  0 siblings, 2 replies; 8+ messages in thread
From: Junio C Hamano @ 2005-11-26  1:15 UTC (permalink / raw)
  To: git

This series is what I've been cooking for the past several days,
partly based on patch from Martin Atukunda but with hopefully
smaller impact.

[PATCH 1/4] Repository format version check.
[PATCH 2/4] Check repository format version in enter_repo().
[PATCH 3/4] init-db: check template and repository format.
[PATCH 4/4] setup_git_directory(): check repository format version.

The first in the series adds the core.repositoryformatversion
configuration item.  The current repository format version is
defined as version 0, and is the same as not having that in the
configuration file.

The second one adds a repository format version check to
enter_repo().  This function is used to verify the path given by
the user, either from the command line or over the network, is a
valid git repository by daemon, upload-pack (which runs on the
other end when you run fetch-pack or clone-pack), and
receive-pack (which runs on the other end when you run
send-pack).

The third one makes sure we do not reinitialize a repository
whose format version we do not understand, do not copy
template files from unmatching version into a new repository,
and record the repository format version in a newly created
repository.

The last bit in the series adds the same check code to
setup_git_directory().  Along with the earlier change to
git-sh-setup that uses git-var to verify the repository, this
gives the shell scripts the same repository format version
check.

I'll push this out to the "master" sometime over the weekend,
and hopefully merge it into "maint" and cut the next 1.0rc on
Wednesday.  Let's hope that will be the last 1.0rc.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-11-29  6:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-26  1:15 [PATCH 0/4] Repository format version check series Junio C Hamano
2005-11-27 10:56 ` What's in master and pu (aka when will 1.0rc4 be out) Junio C Hamano
2005-11-27 13:11   ` Timo Hirvonen
2005-11-27 19:32     ` Linus Torvalds
2005-11-27 21:08       ` Junio C Hamano
2005-11-28  1:51       ` [PATCH] bisect: quote pathnames for eval safety Junio C Hamano
2005-11-28  2:12         ` Junio C Hamano
2005-11-29  6:42 ` [PATCH 0/4] Repository format version check series Martin Atukunda

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).