summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@gmail.com>2017-03-11 18:48:11 +0200
committerwatcherhd <watcherhd@gmail.com>2017-03-11 18:48:11 +0200
commita87f4da36556f6146e22f33033cd98187f279859 (patch)
treeab4490c10ea78e0a6a5d6fe8e902894607da61d3 /build
parent300af88f4728b801c74db04f9d0ccca555edc0c0 (diff)
show only 7 symbols of hash
Diffstat (limited to 'build')
-rw-r--r--build/make_ver.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/make_ver.bat b/build/make_ver.bat
index fe2706b7e4..14dcc522e4 100644
--- a/build/make_ver.bat
+++ b/build/make_ver.bat
@@ -3,7 +3,7 @@ cd /d %~dp0
for /F "tokens=2,3" %%i in (..\include\m_version.h) do if "%%i"=="MIRANDA_VERSION_FILEVERSION" (set OldVer=%%j)
for /F %%i in ('git rev-list --count HEAD') do set Revision=%%i
-for /F %%i in ('git rev-parse --short HEAD') do set Hash=%%i
+for /F %%i in ('git rev-parse --short=7 HEAD') do set Hash=%%i
rem for /F %%i in ('svnversion build.no') do set Revision=%%i
REM Fix building not-svn repository (e.g., Git mirror)