Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect git config's core.excludesfile #299

Open
BrainStone opened this issue Feb 1, 2022 · 3 comments
Open

Respect git config's core.excludesfile #299

BrainStone opened this issue Feb 1, 2022 · 3 comments

Comments

@BrainStone
Copy link

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

@romkatv
Copy link
Owner

romkatv commented Feb 1, 2022

I'm afraid I won't have the cycles to implement this. If you send a clean PR, I'll merge it.

@BrainStone
Copy link
Author

Is there already some code that reads git config values or would that need to be implemented too?

@romkatv
Copy link
Owner

romkatv commented Feb 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants