-
-
Notifications
You must be signed in to change notification settings - Fork 86
Description
Environment:
- Godot version: v4.4.1.stable.official [49a5bc7b6]
- OS: Ubuntu Budgie
- Plugin: Git plugin (installed from AssetLib)
I'm using modified .git/config file where I set core.filemode = false.
The Git plugin automatically changes this parameter back to true when I open the project in Godot.
When I attempted to prevent modification by setting the file attributes to 444 (read-only), the plugin still managed to modify the file and reset the attributes to 664. This suggests the plugin is deleting and recreating the config file rather than modifying it in place.
The issue resolves when I remove the Git plugin. This behavior is particularly problematic because:
- I need to maintain core.filemode = false as my project resides on an NTFS filesystem (shared with Windows)
- I'm concerned the plugin might silently modify other configuration options without my knowledge
Steps to Reproduce:
- Set core.filemode = false in .git/config
- Open the project in Godot with Git plugin enabled
- Observe the parameter has been changed back to true
Expected Behavior:
The Git plugin should respect existing Git configuration settings and not automatically modify .git/config without user consent.
Workaround:
Currently, the only solution is setting .git/config file owner to root (with exception of removal of Git plugin).