xbmc/xbmc — comment on commit 9ed430118886c56e478e9e7fdd308f21f13dcf85
File:  line 0
By Voyager-xbmc:

I have the very latest version (msysgit 1.7.8). It's not an issue of the script itself, as calling extract_git_rev.bat properly prints the revision value. The problem is that something causes that environment variable to be lost when returning to BuildSetup.bat. I suspect it must be related to SETLOCAL ENABLEDELAYEDEXPANSION