Skip to content

Commit

Permalink
disable shallow clone for now, causes issues with diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats committed Dec 18, 2024
1 parent 80418d2 commit 28c3ff8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Plogon/BuildProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -935,14 +935,14 @@ public async Task<BuildResult> ProcessTask(BuildTask task, bool commit, string?
RecurseSubmodules = false,
FetchOptions =
{
Depth = 1,
//Depth = 1,
}
});

var repo = new Repository(workDir.FullName);
Commands.Fetch(repo, "origin", new [] { task.Manifest.Plugin.Commit }, new FetchOptions
{
Depth = 1,
//Depth = 1,
}, null);
repo.Reset(ResetMode.Hard, task.Manifest.Plugin.Commit);

Expand Down Expand Up @@ -1363,7 +1363,7 @@ private void FetchSubmodules(Repository repo, HashSet<BuildResult.ReviewedNeed>
Init = true,
FetchOptions =
{
Depth = 1,
//Depth = 1,
}
});

Expand Down

0 comments on commit 28c3ff8

Please sign in to comment.