Github user dch commented on the pull request:
https://github.com/apache/couchdb/pull/302#issuecomment-115187190
Nice work!
Here's a nifty trick to get a git version, if this is a git repo, and
return true if not. One could tweak the `|| true` bit to return something else
of course.
```
git describe --dirty --abbrev=7 --tags --always --first-parent 2>/dev/null
|| true
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---