diff --git a/src/Microsoft.Crank.PullRequestBot/Program.cs b/src/Microsoft.Crank.PullRequestBot/Program.cs index 92ca15e9e..55cbaecd4 100644 --- a/src/Microsoft.Crank.PullRequestBot/Program.cs +++ b/src/Microsoft.Crank.PullRequestBot/Program.cs @@ -732,7 +732,7 @@ private static async Task> RunBenchmark(Command command, str using var buildBaseCts = new CancellationTokenSource(); var buildBaseTask = Task.Run(async () => { - await ProcessUtil.RunAsync("git", $"clone --recursive {cloneUrl} {cloneFolder} -b {baseBranch}", workingDirectory: workspace, log: true, cancellationToken: buildBaseCts.Token); + await ProcessUtil.RunAsync("git", $"clone -c core.longpaths=true --recursive {cloneUrl} {cloneFolder} -b {baseBranch}", workingDirectory: workspace, log: true, cancellationToken: buildBaseCts.Token); // Build base foreach (var c in buildCommands)