OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b3ea55
)
Provide monotone revission numbers in version.sh
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 1 Feb 2011 11:19:49 +0000
(12:19 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 1 Feb 2011 11:19:49 +0000
(12:19 +0100)
version.sh
patch
|
blob
|
history
diff --git
a/version.sh
b/version.sh
index
3269e03
..
d1cf15d
100755
(executable)
--- a/
version.sh
+++ b/
version.sh
@@
-18,7
+18,7
@@
fi
# check for git short hash
if ! test "$revision"; then
- revision=$(cd "$1" && git describe --
always
2> /dev/null)
+ revision=$(cd "$1" && git describe --
tags --match N
2> /dev/null)
test "$revision" && revision=git-$revision
fi