summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2017-03-04 05:55:06 (GMT)
committerGitHub <noreply@github.com>2017-03-04 05:55:06 (GMT)
commit7030ca65de0507332a6af1c76bc720f8cdcae981 (patch)
treedde9bd12321d84a1a10a3293f25e1709e5dbe701
parenta0c07d2edd345d2867f97ac31822c9544f9cbcf0 (diff)
downloadcpython-7030ca65de0507332a6af1c76bc720f8cdcae981.zip
cpython-7030ca65de0507332a6af1c76bc720f8cdcae981.tar.gz
cpython-7030ca65de0507332a6af1c76bc720f8cdcae981.tar.bz2
Fixes git command (#451)
-rw-r--r--PCbuild/pythoncore.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index e373a91..de74fb0 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -416,7 +416,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>