File tree 8 files changed +12
-7
lines changed
src/remote/connection/fetch/update_refs
fixtures/generated-archives
gix-diff/tests/fixtures/generated-archives
gix-ref/tests/fixtures/generated-archives
8 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ mod baseline {
11
11
if cfg ! ( windows) {
12
12
exe = exe. replace ( '\\' , "/" ) ;
13
13
}
14
- gix_testtools:: scripted_fixture_read_only_with_args ( "baseline.sh" , [ exe] ) ?;
14
+ gix_testtools:: scripted_fixture_read_only_with_args_single_archive ( "baseline.sh" , [ exe] ) ?;
15
15
Ok ( ( ) )
16
16
}
17
17
}
Original file line number Diff line number Diff line change 1
1
make_worktree_repo.tar
2
+ make_worktree_repo_packed.tar
Original file line number Diff line number Diff line change @@ -25,16 +25,19 @@ mod update {
25
25
}
26
26
27
27
fn repo ( name : & str ) -> gix:: Repository {
28
- let dir =
29
- gix_testtools:: scripted_fixture_read_only_with_args ( "make_fetch_repos.sh" , [ base_repo_path ( ) ] ) . unwrap ( ) ;
28
+ let dir = gix_testtools:: scripted_fixture_read_only_with_args_single_archive (
29
+ "make_fetch_repos.sh" ,
30
+ [ base_repo_path ( ) ] ,
31
+ )
32
+ . unwrap ( ) ;
30
33
gix:: open_opts ( dir. join ( name) , restricted ( ) ) . unwrap ( )
31
34
}
32
35
fn named_repo ( name : & str ) -> gix:: Repository {
33
36
let dir = gix_testtools:: scripted_fixture_read_only ( "make_remote_repos.sh" ) . unwrap ( ) ;
34
37
gix:: open_opts ( dir. join ( name) , restricted ( ) ) . unwrap ( )
35
38
}
36
39
fn repo_rw ( name : & str ) -> ( gix:: Repository , gix_testtools:: tempfile:: TempDir ) {
37
- let dir = gix_testtools:: scripted_fixture_writable_with_args (
40
+ let dir = gix_testtools:: scripted_fixture_writable_with_args_single_archive (
38
41
"make_fetch_repos.sh" ,
39
42
[ base_repo_path ( ) ] ,
40
43
gix_testtools:: Creation :: ExecuteScript ,
@@ -189,7 +192,7 @@ mod update {
189
192
190
193
#[ test]
191
194
fn checked_out_branches_in_worktrees_are_rejected_with_additional_information ( ) -> Result {
192
- let root = gix_path:: realpath ( gix_testtools:: scripted_fixture_read_only_with_args (
195
+ let root = gix_path:: realpath ( gix_testtools:: scripted_fixture_read_only_with_args_single_archive (
193
196
"make_fetch_repos.sh" ,
194
197
[ base_repo_path ( ) ] ,
195
198
) ?) ?;
Original file line number Diff line number Diff line change 1
1
/make_worktree_repo.tar
2
+ /make_worktree_repo_bare.tar
2
3
/make_worktree_repo_with_configs.tar
3
4
/make_remote_repos.tar
4
5
/make_complex_shallow_repo.tar
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ mod blocking_and_async_io {
63
63
args : impl IntoIterator < Item = S > ,
64
64
mode : Mode ,
65
65
) -> Result < ( gix:: Repository , gix_testtools:: tempfile:: TempDir ) , gix:: open:: Error > {
66
- let dir = gix_testtools:: scripted_fixture_writable_with_args (
66
+ let dir = gix_testtools:: scripted_fixture_writable_with_args_single_archive (
67
67
"make_fetch_repos.sh" ,
68
68
[ {
69
69
let mut url = base_repo_path ( ) ;
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ mod traverse {
72
72
#[ parallel]
73
73
fn complex_graphs_can_be_iterated_despite_multiple_shallow_boundaries ( ) -> crate :: Result {
74
74
let base = gix_path:: realpath ( gix_testtools:: scripted_fixture_read_only ( "make_remote_repos.sh" ) ?. join ( "base" ) ) ?;
75
- let shallow_base = gix_testtools:: scripted_fixture_read_only_with_args (
75
+ let shallow_base = gix_testtools:: scripted_fixture_read_only_with_args_single_archive (
76
76
"make_complex_shallow_repo.sh" ,
77
77
Some ( base. to_string_lossy ( ) ) ,
78
78
) ?;
You can’t perform that action at this time.
0 commit comments