We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98f8b97 commit d1b43feCopy full SHA for d1b43fe
src/GitVersionCore/ExecuteCore.cs
@@ -27,6 +27,7 @@ public VersionVariables ExecuteGitVersion(string targetUrl, string dynamicReposi
27
var buildServer = applicableBuildServers.FirstOrDefault();
28
var fetch = noFetch || (buildServer != null && buildServer.PreventFetch());
29
var gitPreparer = new GitPreparer(targetUrl, dynamicRepositoryLocation, authentication, fetch, workingDirectory);
30
+ gitPreparer.Initialise(false, targetBranch);
31
var dotGitDirectory = gitPreparer.GetDotGitDirectory();
32
var projectRoot = gitPreparer.GetProjectRootDirectory();
33
0 commit comments