@@ -22,6 +22,7 @@ static BaseFixture()
22
22
public static string StandardTestRepoWorkingDirPath { get ; private set ; }
23
23
public static string StandardTestRepoPath { get ; private set ; }
24
24
public static string MergedTestRepoWorkingDirPath { get ; private set ; }
25
+ public static string SubmoduleTestRepoWorkingDirPath { get ; private set ; }
25
26
public static DirectoryInfo ResourcesDirectory { get ; private set ; }
26
27
27
28
public static readonly Signature DummySignature = new Signature ( "Author N. Ame" , "[email protected] " , TruncateSubSeconds ( DateTimeOffset . Now ) ) ;
@@ -50,6 +51,7 @@ private static void SetUpTestEnvironment()
50
51
StandardTestRepoWorkingDirPath = Path . Combine ( ResourcesDirectory . FullName , "testrepo_wd" ) ;
51
52
StandardTestRepoPath = Path . Combine ( StandardTestRepoWorkingDirPath , ".git" ) ;
52
53
MergedTestRepoWorkingDirPath = Path . Combine ( ResourcesDirectory . FullName , "mergedrepo_wd" ) ;
54
+ SubmoduleTestRepoWorkingDirPath = Path . Combine ( ResourcesDirectory . FullName , "submodule_wd" ) ;
53
55
}
54
56
55
57
protected void CreateCorruptedDeadBeefHead ( string repoPath )
@@ -81,9 +83,8 @@ protected string CloneStandardTestRepo()
81
83
82
84
public string CloneSubmoduleTestRepo ( )
83
85
{
84
- var submodule = Path . Combine ( ResourcesDirectory . FullName , "submodule_wd" ) ;
85
86
var submoduleTarget = Path . Combine ( ResourcesDirectory . FullName , "submodule_target_wd" ) ;
86
- return Clone ( submodule , submoduleTarget ) ;
87
+ return Clone ( SubmoduleTestRepoWorkingDirPath , submoduleTarget ) ;
87
88
}
88
89
89
90
private string Clone ( string sourceDirectoryPath , params string [ ] additionalSourcePaths )
0 commit comments