Re: [PATCH] Add .git/version
From: Martin Atukunda <hidden>
Date: 2016-06-15 22:42:12
On Thu, Nov 17, 2005 at 02:39:21PM +0100, Johannes Schindelin wrote:
Hi, On Thu, 17 Nov 2005, Martin Atukunda wrote:quoted
This patch series attempts to add .git/version support to init-db.c.Wouldn't it make more sense to add the variable VERSION to git-var? After all, git is designed to be backwards compatible; newer versions are supposed to work with ancient repositories. I think you are more interested in knowing which version the tools are at.
Actually this patch series is more a response to the thread "Re: [PATCH] Disable USE_SYMLINK_HEAD by default" in particular see this message 200511160205.43443.Josef.Weidendorfer@gmx.de by Josef Weidendorfer. We've had at least one change that was backwards incompatible, though this was in the ancient days of git development. This patch allows git to record what version of the git tools created the repo we are dealing with. Just in case future changes require this. - Martin - -- Due to a shortage of devoted followers, the production of great leaders has been discontinued.