summaryrefslogtreecommitdiffstats
path: root/util/get-ver
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xutil/get-ver4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/get-ver b/util/get-ver
new file mode 100755
index 0000000..ade7d22
--- /dev/null
+++ b/util/get-ver
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+ver=$(git describe --always --dirty); echo "e2fsprogs $ver ($(git log -1 --pretty=%cD))"
+