anchor.diff:  if not exist include/gpac/revision.h goto Abort
   
   REM check if found a local commit which has not been pushed
  -for /f "delims=" %%a in ('git diff  master..origin/master') do @set diff=%%a
  +for /f "delims=" %%a in ('git diff FETCH_HEAD') do @set diff=%%a
   echo diff = %diff%
  -if "%diff"=="" goto RevisionAbort
  +if not "%diff%"=="" goto RevisionAbort
   
   REM execute git and check if the result if found within revision.h
   for /f "delims=" %%a in ('git describe --tags --long') do @set VERSION=%%a
  
positive.code: @echo off 
  set OLDDIR=%CD%
  cd /d %~dp0
  REM ============================================
  
negative.code: echo:
  echo  *** ABORTING: CHECK ERROR MESSAGES ABOVE ***
  
  REM LeaveBatchError
  set VarRevisionBuild=
  cd /d %OLDDIR%
  exit/b 1
  