def METHOD_NAME(self, log):
    oldPwd = os.getcwd()
    os.chdir( os.getenv('CMSSW_BASE') + '/src/' )
    diffCmd = 'git diff -p --stat --color=never > %s/%s 2> /dev/null' % (oldPwd, log)
    print(diffCmd)
    os.system( diffCmd )
    os.chdir( oldPwd )