Re: [PATCH] Add .git/version
From: Josef Weidendorfer <hidden>
Date: 2016-06-15 22:42:12
On Thursday 17 November 2005 17:33, Andreas Ericsson wrote:
quoted
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.
Of course we do not want that. My comment was about this, as the proposed patch installed a .git/version file with the git version in it, which would lead to this strange result. Josef