diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-12-13 12:29:02 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-01-08 01:09:22 -0500 |
commit | b4b45363396ed717230a78f8a4968e2dd12c014a (patch) | |
tree | 9aa187f2758761cf4eb74475648c2660faa9decf /runtime/syntax/gitcommit.vim | |
parent | 7643245470df5bd828569fe465bb13f0e02c47f2 (diff) | |
download | rneovim-b4b45363396ed717230a78f8a4968e2dd12c014a.tar.gz rneovim-b4b45363396ed717230a78f8a4968e2dd12c014a.tar.bz2 rneovim-b4b45363396ed717230a78f8a4968e2dd12c014a.zip |
version: semver.org compliance
We use `git describe` to stamp pre-release versions (dev builds). But
`git describe` uses the result of the most-recent tag (the current
_release_ version)--so we must munge it with the _next_ (i.e.
unreleased) version.
Also fix non-git builds: do not invoke git_describe(NVIM_VERSION_MEDIUM)
if we're not in a git tree, else it gets the dummy value
"HEAD-HASH-NOTFOUND".
Example :version output in non-git build:
NVIM 0.1.2-dev
Example :version output in git build:
NVIM v0.1.2-176-g9c3c2b5
Diffstat (limited to 'runtime/syntax/gitcommit.vim')
0 files changed, 0 insertions, 0 deletions