Compare commits

...

4 Commits

Author SHA1 Message Date
silentip404
1405bf091c
Merge 01e75ac83d into 3780fff86c 2026-05-19 15:10:35 +00:00
Devin Dooley
3780fff86c
Merge pull request #4801 from NoahGreer/update-godot-gitignore-template
Update Godot.gitignore
2026-05-18 09:18:31 -07:00
Noah Greer
bf4440e850 Add rule for Godot temp extension library copies on Windows
As of Godot 4.2 the editor has a Windows-specific workaround for loading extension libraries.
Before the extension library is loaded the Godot editor creates a temp copy of the extension library `.dll` file with a `~` prefix (e.g. `example.dll` => `~example.dll`).
When the extension library is unloaded the Godot editor deletes the temp copy.
These copied `~*.dll` files are temporary and should be ignored.

References:

Godot 4.2 changelog
https://godotengine.org/article/godot-4-2-arrives-in-style/#gdextension

Godot PR #80188 GDExtension: Copy DLL to a temp file before opening
https://github.com/godotengine/godot/pull/80188
2026-03-23 10:12:22 -07:00
silentip404
01e75ac83d Improve macOS Icon pattern to prevent collaboration issues
Replace invisible CR with character class Icon[^!-~]

The literal CR character is frequently corrupted by:
- Text editors auto-trimming invisible chars
- Formatting tools (editorconfig) normalizing line endings
- Copy/paste operations losing special characters
- IDE auto-formatting and linting tools

Character class pattern is collaboration-safe and functionally identical.
2025-11-10 22:16:16 +08:00
2 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,10 @@
__MACOSX/
.AppleDouble
.LSOverride
Icon[ ]
# Finder custom icons
# Pattern [^!-~] prevents corruption by line-ending converters and editor auto-formatting
Icon[^!-~]
# Resource forks
._*

View File

@ -1,3 +1,6 @@
# Godot 4.2+ specific ignores
~*.dll
# Godot 4+ specific ignores
.godot/
.nomedia