snoyberg / githash

Compile git revision info into Haskell projects
BSD 3-Clause "New" or "Revised" License
33 stars 12 forks source link

Include --dirty and --tags flag in git describe #25

Open ad-si opened 2 years ago

ad-si commented 2 years ago

I think the default for giDescribe should be git describe --dirty --tags --always (A lot of developers only use non-annotated tags and --tags this will include them)

If this is undesirable, maybe we could add another command giDescribeTagsDirty?

snoyberg commented 2 years ago

I'm fine with that change, want to send a PR?