sourcegit-scm / sourcegit

Windows/macOS/Linux GUI client for GIT users
MIT License
1.15k stars 112 forks source link

[Feature] Configurable location for `sourcegit.settings` file #542

Open codarch opened 2 days ago

codarch commented 2 days ago

It would be great if the application was able to store repository-specific configuration settings outside of the repository (the .git folder) and keep the repository itself clean from product-specific files. Git clients tend to treat the repository as if it were their own territory and put their arbitrary data there. That data have nothing to do with core Git files and (in my opinion) do not really belong there.

Not to mention that this practice might cause issues on a long-term period if the format of the client configuration changes (I expect future Git versions to have backward compatible changes only, but Git clients may change at a faster pace, more dynamically).

Therefore I suggest introducing an option to store repository-specific settings in a centralized manner, for instance in the SourceGit application data directory.

Nonetheless this is a great product, thanks for the efforts of all contributors!

love-linger commented 19 hours ago