diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-09-14 06:15:40 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-09-14 06:15:40 +1000 |
| commit | 88ee626cb3686dc176cd7911b073c4e65fa54d34 (patch) | |
| tree | ffd4d27de8b6cce5a43add9fa4222b1d50f1e500 /src/marlin.web/Services/VersionControlSyncService.cs | |
| parent | df0737e55afeb5c01eb39909605970d1d3a73ffc (diff) | |
feat: ui cleanup
Diffstat (limited to 'src/marlin.web/Services/VersionControlSyncService.cs')
| -rw-r--r-- | src/marlin.web/Services/VersionControlSyncService.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/marlin.web/Services/VersionControlSyncService.cs b/src/marlin.web/Services/VersionControlSyncService.cs index cd75ed6..8f2046e 100644 --- a/src/marlin.web/Services/VersionControlSyncService.cs +++ b/src/marlin.web/Services/VersionControlSyncService.cs @@ -142,6 +142,7 @@ public class VersionControlSyncService : BackgroundService await dbContext.SourceCommits .Include(x => x.Branches) .Where(x => !x.Branches.Any()) + .Where(x => !dbContext.Jobs.Any(j => j.CommitId == x.Id)) .ExecuteDeleteAsync(ct); } |
