directory: Align process to checkout a remote git ref with guix one
Compare changes
Files
2+ 26
− 16
@@ -9,13 +9,18 @@ from subprocess import run
@@ -28,7 +33,7 @@ def test_list_git_tree(datadir, tmp_path):
@@ -86,13 +91,13 @@ def compute_nar_hash_for_ref(
@@ -101,7 +106,7 @@ def prepare_test_git_clone(
@@ -116,27 +121,30 @@ def prepare_test_git_clone(
@@ -153,7 +161,7 @@ def test_git_loader_directory(swh_storage, datadir, tmp_path, reference):
@@ -197,7 +205,7 @@ def test_loader_git_directory_hash_mismatch(swh_storage, datadir, tmp_path):
@@ -303,7 +311,9 @@ def test_loader_git_directory_without_or_with_submodule(