git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git version numbers

From
Jeff King <peff@peff.net>
Date
May 30, 2011, 03:34 UTC
Message-ID
<20110530033428.GB27691@sigill.intra.peff.net>
In-Reply-To
<20110528201321.GA26017@Imperial-SD-Longsword>
On Sun, May 29, 2011 at 06:13:22AM +1000, Tim Mazid wrote:
Show 9 quoted lines
> I was just looking at various versioning schemes, and I came to wonder
> about git's one.  Most of the ones out there are of the form
> <major>.<minor>.<optional revision> (j.n.r), but git seems to have four,
> as in 1.7.5.1.
> 
> So, I was wondering what you call each number in the git version; does
> the usual j.n.r apply to the last three and the first one is a
> "mystery"?  What is the official versioning scheme?  Does each number
> have any particular name?
In "git w.x.y.z", the decoding is:
  w: not likely to change short of a complete rewrite or something that
     is quite incompatible (i.e., will probably remain "1" for quite a
     while)
  x: when this jumps, it is a "big" version change, meaning there may be
     some minor incompatibilities or new ways of doing things. For
     example, 1.5.0 introduced a lot of usability changes and the
     separate-remotes layout became the default. In 1.6.0, we stopped
     shipping "git-*" in the PATH, and started using some new packfile
     features by default. And so on. If you want to know more, see
     Documentation/RelNotes/1.?.0.txt.
  y: when this jumps, it is a new release cut from master that does not
     have any "big" changes as above. There will be new features and
     some bugfixes. See RelNotes/1.7.?.txt for examples of what gets
     included.
  z: when this jumps, it is a bugfix release based on the feature
     release w.x.y. See RelNotes/1.7.5.?.txt for examples.

Getting more to your actual question, I don't know that we ever use any particular name like "major" or "minor" for any of them. We do tend to use the terms "feature release" for w.x.y releases and "bugfix release" for w.x.y.z.

-Peff
Previous: Tim MazidNext: Tim Mazid
Message 2 of 5 in “git version numbers”
  1. Tim MazidMay 28, 2011
  2. Jeff KingMay 30, 2011
  3. Tim MazidMay 30, 2011
  4. Jeff KingMay 30, 2011
  5. Jakub NarebskiMay 30, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.