Skip to content

Commit

Permalink
Add core.longpaths=true to git provider (#4598)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanduplenskikh authored and Ivan Duplenskikh committed Jan 17, 2024
1 parent 40edc5d commit b4c6dfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Agent.Plugins/GitSourceProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ public async Task GetSourceAsync(
await gitCommandManager.GitConfig(executionContext, targetPath, "pack.windowmemory", "256m");
await gitCommandManager.GitConfig(executionContext, targetPath, "pack.deltaCacheSize", "256m");
await gitCommandManager.GitConfig(executionContext, targetPath, "pack.packSizeLimit", "256m");
await gitCommandManager.GitConfig(executionContext, targetPath, "core.longpaths", "true");
}

// always remove any possible left extraheader setting from git config.
Expand Down

0 comments on commit b4c6dfc

Please sign in to comment.