Open
Description
Describe the bug
Using the windows build of gitversion, the option "/c" for selecting a specific commit id doesn't do anything. Still the latest commit is selected. Also, to see what was going on, I tried to change the level of verbosity using "/verbosity Verbose" which also didn't do anything. I tested this using both a current release (5.3.7) and an older version (3.4.0).
Expected Behavior
Gitversion prints out version information calculated from the commit id passed with /c <commit-id>.
Actual Behavior
Gitversion prints out version information calculated from the latest commit.
Possible Fix
As this doesn't seem to be the only option not taken into account, maybe there is a general bug regarding parameters passed to gitversion.exe?
Steps to Reproduce
- Create an empty repository and add some content with several commits (I did around 4 or 5)
- run gitversion.exe /c <commit-id>, where commit-id should be a commit, older that the latest
Your Environment
Ran from powershell.
- Version Used: 5.3.7 and 3.4.0
- Operating System and version (Windows 10, Ubuntu 18.04): Windows 10