Check out hash, not ref

pull/809/head
David Brochart 2019-11-07 14:45:26 +01:00
rodzic 908161aecb
commit f440daeb8b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -50,7 +50,7 @@ class Git(ContentProvider):
raise ValueError("Failed to check out ref {}".format(ref))
# check out ref as it has not been done yet
for line in execute_cmd(
["git", "checkout", ref], cwd=output_dir, capture=yield_output
["git", "checkout", hash], cwd=output_dir, capture=yield_output
):
yield line
# If the hash is resolved above, we should be able to reset to it