From cf759d24dcec4000b41d692d55c936599b61df15 Mon Sep 17 00:00:00 2001 From: Zeke Foppa Date: Mon, 4 Aug 2025 08:49:40 -0700 Subject: [PATCH 1/3] [bfops/hide-autogen]: Hide generated files from diffs --- demo/Blackholio/client-unity/.gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 demo/Blackholio/client-unity/.gitattributes diff --git a/demo/Blackholio/client-unity/.gitattributes b/demo/Blackholio/client-unity/.gitattributes new file mode 100644 index 00000000000..d20a589595d --- /dev/null +++ b/demo/Blackholio/client-unity/.gitattributes @@ -0,0 +1 @@ +/Assets/Scripts/autogen/** linguist-generated=true From 8601b4d5316c66f91a2555e720fcfeb01b3241db Mon Sep 17 00:00:00 2001 From: Zeke Foppa Date: Mon, 4 Aug 2025 08:50:35 -0700 Subject: [PATCH 2/3] [bfops/hide-autogen]: test diff --- .../Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/demo/Blackholio/client-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs b/demo/Blackholio/client-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs index 1ced03e5037..c35fc00eba3 100644 --- a/demo/Blackholio/client-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs +++ b/demo/Blackholio/client-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs @@ -6,10 +6,6 @@ #nullable enable using System; -using SpacetimeDB.ClientApi; -using System.Collections.Generic; -using System.Runtime.Serialization; - namespace SpacetimeDB.Types { public sealed partial class RemoteReducers : RemoteBase From caf4c7c95208a619b2b3c77c4cf168ee06984b8b Mon Sep 17 00:00:00 2001 From: Zeke Foppa Date: Mon, 4 Aug 2025 08:51:25 -0700 Subject: [PATCH 3/3] [bfops/hide-autogen]: revert --- .../Assets/Scripts/autogen/SpacetimeDBClient.g.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/demo/Blackholio/client-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs b/demo/Blackholio/client-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs index c35fc00eba3..1ced03e5037 100644 --- a/demo/Blackholio/client-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs +++ b/demo/Blackholio/client-unity/Assets/Scripts/autogen/SpacetimeDBClient.g.cs @@ -6,6 +6,10 @@ #nullable enable using System; +using SpacetimeDB.ClientApi; +using System.Collections.Generic; +using System.Runtime.Serialization; + namespace SpacetimeDB.Types { public sealed partial class RemoteReducers : RemoteBase