Internal: looks like "git rev-parse --short" is not guaranteed to output a 7-char hash...

This commit is contained in:
m-x-d 2016-12-29 21:37:46 +03:00
parent 92cc013398
commit f44ddc23f4
2 changed files with 1 additions and 1 deletions

View file

@ -15,7 +15,7 @@ namespace mxd.VersionFromGIT
{
#region ======================== Constants
private const string GIT_INFO = "@echo off\r\ngit rev-list --count master\r\ngit rev-parse --short master";
private const string GIT_INFO = "@echo off\r\ngit rev-list --count master\r\ngit rev-parse --short=7 master";
#endregion

Binary file not shown.