aboutsummaryrefslogtreecommitdiff
path: root/src/gitrev
blob: 9d20a88fc9f0508871a6a6138b8e4e4c108aaf34 (plain)
1
2
3
#!/bin/sh

git log --date=format:%Y%m%d --format=%cd-%h 2>/dev/null |head -n 1