This commit is contained in:
Birunthan Mohanathas 2012-04-05 15:13:33 +03:00
parent 6490dad2dc
commit 98ea88fe4d

View File

@ -39,7 +39,7 @@ set GIT=%GIT:Program Files\=Program Files (x86)\%
if not exist "%GIT%" echo ERROR: git.exe not found & goto END if not exist "%GIT%" echo ERROR: git.exe not found & goto END
:GITFOUND :GITFOUND
set /a REVISION=0 set /a REVISION=0
for /f "usebackq delims= " %%G in (`"%GIT%" rev-list master`) do set /a REVISION+=1 for /f "usebackq delims= " %%G in (`"%GIT%" rev-list --all`) do set /a REVISION+=1
goto UPDATEVERSION goto UPDATEVERSION
:: svn :: svn