diff options
author | 2017-08-11 09:47:37 -0700 | |
---|---|---|
committer | 2017-08-11 17:47:37 +0100 | |
commit | a09f208c51e175e0b3d950e7bdfb8bfb694d61d7 (patch) | |
tree | 7e25ed1fdca0a957f61165fe33eed75d55b19fa3 /test | |
parent | ebcbe66bbd0ecde3ea5066995389931d24453543 (diff) | |
download | coredns-a09f208c51e175e0b3d950e7bdfb8bfb694d61d7.tar.gz coredns-a09f208c51e175e0b3d950e7bdfb8bfb694d61d7.tar.zst coredns-a09f208c51e175e0b3d950e7bdfb8bfb694d61d7.zip |
Add git commit to the version output. (#900)
Now the output would be:
```
./coredns -version
CoreDNS-010
linux/amd64, go1.8, 241e3db
```
In case the local file has been modified, then the output would be (with --dirty):
```
./coredns -version
CoreDNS-010
linux/amd64, go1.8, 241e3db-dirty
```
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions