switch to git log from svnversion
fix debug logic to treat -d just like env var