Skip to content
  • Jonathan Rubenstein's avatar
    [cmake] remove --long from version.cmake · fabb5bd4
    Jonathan Rubenstein authored
    This means if someone checks out a tagged revision, the extra commit N
    and commit hash are removed from the VERSION, leaving just the tag name
    
    Adding any commits will cause -<commitssince>-g<commithash> to return.
    
    The dirty worktree '+' still functions as normal, simply appended to
    the end of the tag name, like 'v1.0.3+'. With both extra commits and a
    dirty worktree, it will look like 'v1.0.3-2-gd6e00e4f34a+', as usual.
    fabb5bd4