Skip to content

Commit a180baa

Browse files
committed
Merge pull request #430 from eggapauli/log-dynamic-repo-location
Log location of dynamic repository
2 parents a634f09 + 9dd8d8b commit a180baa

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)