Skip to content

Commit 0f76cce

Browse files
socram8888kzu
authored andcommitted
Disable signatures when obtaining commit date - fixes #180
1 parent 9839b68 commit 0f76cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitInfo/build/GitInfo.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@
437437
Outputs="$(_GitInfoFile)"
438438
Condition="'$(GitRoot)' != '' And '$(GitCommitDate)' == ''">
439439

440-
<Exec Command='$(GitExe) show --format=$(GitCommitDateFormat) -s'
440+
<Exec Command='$(GitExe) -c log.showSignature=false show --format=$(GitCommitDateFormat) -s'
441441
EchoOff='true'
442442
StandardErrorImportance="low"
443443
StandardOutputImportance="low"

0 commit comments

Comments
 (0)