@@ -55,8 +55,8 @@ public void WorksCorrectlyWithRemoteRepository(string branchName, string expecte
5555 arguments . TargetBranch = branchName ;
5656 }
5757
58- var gitPreparer = new GitPreparer ( arguments . TargetUrl , arguments . DynamicRepositoryLocation , arguments . Authentication , arguments . TargetBranch , arguments . NoFetch , arguments . TargetPath , false ) ;
59- gitPreparer . Initialise ( ) ;
58+ var gitPreparer = new GitPreparer ( arguments . TargetUrl , arguments . DynamicRepositoryLocation , arguments . Authentication , arguments . TargetBranch , arguments . NoFetch , arguments . TargetPath ) ;
59+ gitPreparer . Initialise ( false ) ;
6060 dynamicRepositoryPath = gitPreparer . GetDotGitDirectory ( ) ;
6161
6262 gitPreparer . IsDynamicGitRepository . ShouldBe ( true ) ;
@@ -100,12 +100,12 @@ public void UpdatesExistingDynamicRepository()
100100 TargetBranch = "master"
101101 } ;
102102
103- var gitPreparer = new GitPreparer ( arguments . TargetUrl , arguments . DynamicRepositoryLocation , arguments . Authentication , arguments . TargetBranch , arguments . NoFetch , arguments . TargetPath , false ) ;
104- gitPreparer . Initialise ( ) ;
103+ var gitPreparer = new GitPreparer ( arguments . TargetUrl , arguments . DynamicRepositoryLocation , arguments . Authentication , arguments . TargetBranch , arguments . NoFetch , arguments . TargetPath ) ;
104+ gitPreparer . Initialise ( false ) ;
105105 dynamicRepositoryPath = gitPreparer . GetDotGitDirectory ( ) ;
106106
107107 var newCommit = mainRepositoryFixture . Repository . MakeACommit ( ) ;
108- gitPreparer . Initialise ( ) ;
108+ gitPreparer . Initialise ( false ) ;
109109
110110 using ( var repository = new Repository ( dynamicRepositoryPath ) )
111111 {
@@ -147,8 +147,8 @@ public void PicksAnotherDirectoryNameWhenDynamicRepoFolderTaken()
147147 TargetUrl = fixture . RepositoryPath
148148 } ;
149149
150- var gitPreparer = new GitPreparer ( arguments . TargetUrl , arguments . DynamicRepositoryLocation , arguments . Authentication , arguments . TargetBranch , arguments . NoFetch , arguments . TargetPath , false ) ;
151- gitPreparer . Initialise ( ) ;
150+ var gitPreparer = new GitPreparer ( arguments . TargetUrl , arguments . DynamicRepositoryLocation , arguments . Authentication , arguments . TargetBranch , arguments . NoFetch , arguments . TargetPath ) ;
151+ gitPreparer . Initialise ( false ) ;
152152
153153 gitPreparer . IsDynamicGitRepository . ShouldBe ( true ) ;
154154 gitPreparer . DynamicGitRepositoryPath . ShouldBe ( expectedDynamicRepoLocation + "_1\\ .git" ) ;
@@ -174,7 +174,7 @@ public void WorksCorrectlyWithLocalRepository()
174174 TargetPath = tempDir
175175 } ;
176176
177- var gitPreparer = new GitPreparer ( arguments . TargetUrl , arguments . DynamicRepositoryLocation , arguments . Authentication , arguments . TargetBranch , arguments . NoFetch , arguments . TargetPath , false ) ;
177+ var gitPreparer = new GitPreparer ( arguments . TargetUrl , arguments . DynamicRepositoryLocation , arguments . Authentication , arguments . TargetBranch , arguments . NoFetch , arguments . TargetPath ) ;
178178 var dynamicRepositoryPath = gitPreparer . GetDotGitDirectory ( ) ;
179179
180180 dynamicRepositoryPath . ShouldBe ( null ) ;
@@ -184,8 +184,8 @@ public void WorksCorrectlyWithLocalRepository()
184184 [ Test ]
185185 public void UsesGitVersionConfigWhenCreatingDynamicRepository ( )
186186 {
187- string localRepoPath = PathHelper . GetTempPath ( ) ;
188- string repoBasePath = Path . GetDirectoryName ( PathHelper . GetTempPath ( ) ) ;
187+ var localRepoPath = PathHelper . GetTempPath ( ) ;
188+ var repoBasePath = Path . GetDirectoryName ( PathHelper . GetTempPath ( ) ) ;
189189 Directory . CreateDirectory ( localRepoPath ) ;
190190
191191 try
0 commit comments