Skip to content

Commit 1d7de1c

Browse files
authored
[release/8.0.1xx] Bump darc to fix VMR sync (#17704)
1 parent 49b69c9 commit 1d7de1c

File tree

2 files changed

+3
-54
lines changed

2 files changed

+3
-54
lines changed

src/VirtualMonoRepo/Tasks/GitFileManagerFactory.cs

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/VirtualMonoRepo/Tasks/VirtualMonoRepo_Initialize.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ await vmrInitializer.InitializeRepository(
7474
additionalRemotes,
7575
ReadmeTemplatePath,
7676
TpnTemplatePath,
77+
generateCodeowners: false,
78+
discardPatches: true,
7779
_cancellationToken.Token);
7880
return true;
7981
}
@@ -82,7 +84,6 @@ await vmrInitializer.InitializeRepository(
8284

8385
private IServiceProvider CreateServiceProvider() => new ServiceCollection()
8486
.AddLogging(b => b.AddConsole().AddFilter(l => l >= LogLevel.Information))
85-
.AddTransient<GitFileManagerFactory>()
86-
.AddVmrManagers(sp => sp.GetRequiredService<GitFileManagerFactory>(), "git", VmrPath, TmpPath, null, null)
87+
.AddVmrManagers("git", VmrPath, TmpPath, null, null)
8788
.BuildServiceProvider();
8889
}

0 commit comments

Comments
 (0)