repo.or.cz
/
beanstalkd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
README.md: fix build status badge
[beanstalkd.git]
/
vers.sh
blob
8e829d8984853551603ea983cd58ad426170bc17
1
#!/bin/sh
2
3
if
git describe
>/
dev
/
null
2
>&
1
4
then
5
git describe
--tags --match
=
dev
*
|
sed
s
/
^dev
//
|
tr
- +
|
tr
-d
'
\n
'
6
if
!
git
diff
--quiet
HEAD
7
then
printf
+
mod
8
fi
9
else
10
printf
unknown
11
fi