mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 22:48:07 -05:00
Use a tagged commit for the public baseline, using a date jumped between different commits
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user