From: Andreas Ericsson Date: Thu, 17 Nov 2005 16:33:14 GMT Subject: Re: [PATCH] Add .git/version Message-ID: <437CB0CA.6070306@op5.se> In-Reply-To: <200511171644.48438.Josef.Weidendorfer@gmx.de> Josef Weidendorfer wrote: > On Thursday 17 November 2005 14:25, Martin Atukunda wrote: > > As .git/version is part of the repository, it should contain the version > of the repository format used. Do you really want to link the version > of the repository format with the version of git which created the > repository? It think it is better to detach a repository version from > version of git. > > Why? Ideally, the git commands first should check if they can handle the > repository format. If they can not handle the version, they should bail > out with an error [*] > Now suppose we want to release Git 2 without change the repository > format at all. Thus, even if Git 1 tool *would* work with repositories > created by Git 2, they will fail in the version check! > Not that I have an opinion on these changes, but Netscape 7 still handles HTTP 1.1. Just because we up the major-number for git doesn't mean we have to do the same for the repository format version. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231