summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2017-03-04 05:57:47 (GMT)
committerGitHub <noreply@github.com>2017-03-04 05:57:47 (GMT)
commit793f822068335cff68f25304a915c726f3f3a599 (patch)
treead0822a6f77a9b172a4d25236147a8cf9d6129da
parentd3e1e9df724d97ab83113c2d5fa15179d1dcd560 (diff)
downloadcpython-793f822068335cff68f25304a915c726f3f3a599.zip
cpython-793f822068335cff68f25304a915c726f3f3a599.tar.gz
cpython-793f822068335cff68f25304a915c726f3f3a599.tar.bz2
Fixes git command (#451) (#452)
-rw-r--r--PCbuild/pythoncore.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index 8f8bede..d7e9473 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -415,7 +415,7 @@
<MakeDir Directories="$(IntDir)" Condition="!Exists($(IntDir))" />
<Exec Command="$(_GIT) name-rev --name-only HEAD &gt; &quot;$(IntDir)gitbranch.txt&quot;" ContinueOnError="true" />
<Exec Command="$(_GIT) rev-parse HEAD &gt; &quot;$(IntDir)gitversion.txt&quot;" ContinueOnError="true" />
- <Exec Command="$(_GIT) name-rev --tags --name id -t &gt; &quot;$(IntDir)gittag.txt&quot;" ContinueOnError="true" />
+ <Exec Command="$(_GIT) name-rev --tags --name-only HEAD &gt; &quot;$(IntDir)gittag.txt&quot;" ContinueOnError="true" />
<PropertyGroup>
<GitBranch Condition="Exists('$(IntDir)gitbranch.txt')">$([System.IO.File]::ReadAllText('$(IntDir)gitbranch.txt').Trim())</GitBranch>
<GitVersion Condition="Exists('$(IntDir)gitversion.txt')">$([System.IO.File]::ReadAllText('$(IntDir)gitversion.txt').Trim())</GitVersion>