From 28c3ff820f14e723ddbd744dfb33a61b58efde18 Mon Sep 17 00:00:00 2001 From: goat Date: Wed, 18 Dec 2024 01:01:47 +0100 Subject: [PATCH] disable shallow clone for now, causes issues with diffs --- Plogon/BuildProcessor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plogon/BuildProcessor.cs b/Plogon/BuildProcessor.cs index 024bce6..e3baf06 100644 --- a/Plogon/BuildProcessor.cs +++ b/Plogon/BuildProcessor.cs @@ -935,14 +935,14 @@ public async Task 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); @@ -1363,7 +1363,7 @@ private void FetchSubmodules(Repository repo, HashSet Init = true, FetchOptions = { - Depth = 1, + //Depth = 1, } });