mtkennerly / dunamai

Dynamic versioning library and CLI
https://dunamai.readthedocs.io/en/latest
MIT License
320 stars 23 forks source link

Add option for detecting only changed files as dirty #82

Closed m1stadev closed 5 months ago

m1stadev commented 5 months ago

Hi, would it be possible for an option to be added that doesn't detect untracked files as dirty?

Perhaps a flag could be added to Version.from_git() (skip_untracked?) that skips over this section of code.

I'd be willing to PR this if necessary.

mtkennerly commented 5 months ago

Hi! This will be included in the next release :)