aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/gitcommit.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-12-13 12:29:02 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-01-08 01:09:22 -0500
commitb4b45363396ed717230a78f8a4968e2dd12c014a (patch)
tree9aa187f2758761cf4eb74475648c2660faa9decf /runtime/syntax/gitcommit.vim
parent7643245470df5bd828569fe465bb13f0e02c47f2 (diff)
downloadrneovim-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