@@ -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" , "him@there.com" , 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 )
@@ -86,9 +88,8 @@ protected string CloneMergedTestRepo()
86
88
87
89
public string CloneSubmoduleTestRepo ( )
88
90
{
89
- var submodule = Path . Combine ( ResourcesDirectory . FullName , "submodule_wd" ) ;
90
91
var submoduleTarget = Path . Combine ( ResourcesDirectory . FullName , "submodule_target_wd" ) ;
91
- return Clone ( submodule , submoduleTarget ) ;
92
+ return Clone ( SubmoduleTestRepoWorkingDirPath , submoduleTarget ) ;
92
93
}
93
94
94
95
private string Clone ( string sourceDirectoryPath , params string [ ] additionalSourcePaths )
0 commit comments