in tools/gen-release-vote.py [0:0]
def currentGitHead(): res = subprocess.check_output(['git', 'show-ref', '--hash', '--abbrev', '--', 'refs/remotes/upstream/master']) res = res.decode('ascii') return res.strip()