Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1eee3e
)
util: add get-var script
author
Theodore Ts'o
<tytso@mit.edu>
Fri, 18 Mar 2016 20:29:19 +0000
(16:29 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 18 Mar 2016 20:29:19 +0000
(16:29 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
util/get-ver
[new file with mode: 0755]
patch
|
blob
diff --git a/util/get-ver
b/util/get-ver
new file mode 100755
(executable)
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))"
+