gitstatus
gitstatus copied to clipboard
Respect git config's core.excludesfile
You can configure a global gitignore file using the core.excludesfile git config setting.
This seems to be ignored currently.
Beyond that it can also be used to configure an additional gitignore file for a repository or to locally make the global gitignore file ineffective.
I would very much apprechiate this setting being respected.
Details are mentioned in the official docs: https://git-scm.com/docs/gitignore
I'm afraid I won't have the cycles to implement this. If you send a clean PR, I'll merge it.
Is there already some code that reads git config values or would that need to be implemented too?
Is there already some code that reads git config values or would that need to be implemented too?
That code is in libgit2.
Can you check whether lg2 status works? You'll need to compile lg2 from sources. If it doesn't work, it needs to be fixed in libgit2.