From a87f4da36556f6146e22f33033cd98187f279859 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Sat, 11 Mar 2017 18:48:11 +0200 Subject: show only 7 symbols of hash --- build/make_ver.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/make_ver.bat') 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) -- cgit v1.2.3