Skip to content

Commit

Permalink
🍱 chore: filter
Browse files Browse the repository at this point in the history
  • Loading branch information
esnya committed Feb 3, 2023
1 parent e4e81ca commit 394f535
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.prefab filter=usharp-prefab diff=usharp-prefab merge=unityyamlmerge eol=lf text
*.asset filter=usharp-prefab diff=usharp-prefab merge=unityyamlmerge eol=lf text
4 changes: 3 additions & 1 deletion .gitscripts/filter-usharp-prefab.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ const pattern = new RegExp(
" value:.*\n",
` objectReference: ${guidPattern}\n`,
"|",
` serializedProgramAsset: ${guidPattern}\n`,
` serialized(Udon)?ProgramAsset: ${guidPattern}\n`,
"|",
` serializedProgramBytesString: .*\n?`,
"|",
" SerializedFormat: [02]\n",
].join(""),
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 394f535

Please sign in to comment.