-
Notifications
You must be signed in to change notification settings - Fork 304
Closed
Labels
Milestone
Description
It doesn't seem to be possible to disable or set a zero length string for the dirty suffix.
I'm guessing this is because the plugin conflates an empty string with the default value, and also maven whitespace stripping is a consideration.
Current Behavior
Setting <dirty></dirty> still creates the dirty suffix on the git.commit.id.describe output.
Steps to Reproduce (for bugs only)
- Add untracked file to repo, check git describe:
git describe --dirty->1.0.0-dirty - Attempt to disable dirty suffix with an empty string in config:
<gitDescribe>
<dirty></dirty>
</gitDescribe>
- Output of
git.commit.id.describestill includes dirty suffix.
Environment (for bugs only)
Plugin: 2.2.4
Maven 3.3.9
dbolotin