Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn off signature display when running log #102

Merged
merged 1 commit into from
Oct 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/GitInfo/build/GitInfo.targets
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@
Outputs="$(_GitInfoFile)"
Condition="'$(GitRoot)' != '' And '$(GitCommit)' == ''">

<Exec Command='$(GitExe) log --format=format:$(_ShortShaFormat) -n 1'
<Exec Command='$(GitExe) -c log.showSignature=false log --format=format:$(_ShortShaFormat) -n 1'
EchoOff='true'
StandardErrorImportance="low"
StandardOutputImportance="low"
Expand All @@ -386,7 +386,7 @@
<GitCommit>$(GitDefaultCommit)</GitCommit>
</PropertyGroup>

<Exec Command='$(GitExe) log --format=format:$(_LongShaFormat) -n 1'
<Exec Command='$(GitExe) -c log.showSignature=false log --format=format:$(_LongShaFormat) -n 1'
EchoOff='true'
StandardErrorImportance="low"
StandardOutputImportance="low"
Expand Down Expand Up @@ -467,7 +467,7 @@
<Output TaskParameter="ExitCode" PropertyName="MSBuildLastExitCode" />
</Exec>

<Exec Command='$(GitExe) log -n 1 --format=format:$(_ShortShaFormat) "$(_GitVersionFile)"'
<Exec Command='$(GitExe) -c log.showSignature=false log -n 1 --format=format:$(_ShortShaFormat) "$(_GitVersionFile)"'
EchoOff='true'
StandardErrorImportance="low"
StandardOutputImportance="low"
Expand Down