Skip to content

Commit 9dd8d8b

Browse files
author
Johannes Egger
committed
Log location of dynamic repository
1 parent 6276276 commit 9dd8d8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

GitVersionExe/GitPreparer.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,12 @@ public string GetDotGitDirectory()
8080

8181
static string CreateDynamicRepository(string targetPath, Authentication authentication, string repositoryUrl, string targetBranch, bool noFetch)
8282
{
83+
Logger.WriteInfo(string.Format("Creating dynamic repository at '{0}'", targetPath));
84+
8385
var gitDirectory = Path.Combine(targetPath, ".git");
8486
if (Directory.Exists(targetPath))
8587
{
86-
Logger.WriteInfo(string.Format("Git repository already exists at {0}", targetPath));
88+
Logger.WriteInfo("Git repository already exists");
8789
GitHelper.NormalizeGitDirectory(gitDirectory, authentication, noFetch);
8890
Logger.WriteInfo(string.Format("Updating branch '{0}'", targetBranch));
8991
using (var repo = new Repository(targetPath))

0 commit comments

Comments
 (0)