Migrate sha -> rev

This commit is contained in:
Anthony Sottile
2018-02-24 18:42:51 -08:00
parent 184e22e81f
commit 5651c66995
19 changed files with 215 additions and 107 deletions

View File

@@ -97,7 +97,7 @@ def get_changed_files(new, old):
)[1])
def head_sha(remote):
def head_rev(remote):
_, out, _ = cmd_output('git', 'ls-remote', '--exit-code', remote, 'HEAD')
return out.split()[0]