projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0167e8a
)
Explicitly disable printing signatures when running git
author
Daniel Albers
<daniel@lbe.rs>
Wed, 3 Jan 2018 00:41:41 +0000
(
01:41
+0100)
committer
Daniel Albers
<daniel@lbe.rs>
Wed, 3 Jan 2018 01:17:41 +0000
(
02:17
+0100)
Make sure version parsing doesn't fail when a signed commit is at the tip and
log.showsignature is enabled.
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
8d9aaae
..
4d15ebc
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-656,7
+656,7
@@
git_describe(GIT_DESCRIBE --long)
# If in a Git repo we can get the commit-date from a git command
if (GIT_HEAD)
execute_process(
- COMMAND git show -s --format=%ct
+ COMMAND git
-c log.showsignature=false
show -s --format=%ct
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_COMMIT_DATE
OUTPUT_STRIP_TRAILING_WHITESPACE