Use a tagged commit for the public baseline, using a date jumped between different commits

This commit is contained in:
Matt Stevens
2025-11-25 09:54:19 +00:00
parent c35b887952
commit 49b28d213c

View File

@@ -106,7 +106,7 @@ internal class SyncPublicRepo( string name ) : Step( name )
{
Log.Info( "Creating clone for filtering..." );
if ( !Utility.RunProcess( "git", $"clone --shallow-since=2025-11-23 \"{localFilePath}\" \"{filteredRepoPath}\"" ) )
if ( !Utility.RunProcess( "git", $"clone --shallow-exclude public-history-root \"{localFilePath}\" \"{filteredRepoPath}\"" ) )
{
Log.Error( "Failed to create clone" );
return null;