projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb6ba5
)
Fix: always use git describe --all --long for the git version
author
David Goulet
<dgoulet@efficios.com>
Tue, 29 Jul 2014 15:38:44 +0000
(11:38 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 29 Jul 2014 15:54:26 +0000
(11:54 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
include/Makefile.am
patch
|
blob
|
blame
|
history
diff --git
a/include/Makefile.am
b/include/Makefile.am
index d2061f1e05ea75bb7db8fd542dc683d19253bdca..767b05b5d99ff38128713925a7dbd71e12579bd7 100644
(file)
--- a/
include/Makefile.am
+++ b/
include/Makefile.am
@@
-21,8
+21,7
@@
version.h:
git_version=""; \
else \
git_describe="$$(git describe)"; \
- if [ "$${git_branch}" == "$${git_describe}" ] || \
- [ "$${git_branch}" == "heads/master" ]; then \
+ if [ "$${git_branch}" == "$${git_describe}" ]; then \
git_version="$${git_describe}"; \
else \
git_version="$$(git describe --long --all)"; \
This page took
0.026543 seconds
and
4
git commands to generate.