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

feat: .git/info/exclude support in init #849

Open
wants to merge 30 commits into
base: python-rewrite
Choose a base branch
from

Conversation

tuncbkose
Copy link

Adds #466 via -gl/--gitignore_local flag (I didn't know what else to name it).

This will only work if the current directory (as opposed to a given target) is a git repo, and silently fall back to .gitignore otherwise. I chose to do so because devenv currently seems to write .gitignore only in the current directory as well.

I'm not sure how/where to add a test, but will happily make one if someone tells me.

@domenkozar domenkozar force-pushed the python-rewrite branch 3 times, most recently from 9d6bd46 to deae4e8 Compare February 23, 2024 15:17
@domenkozar
Copy link
Member

I'm a bit puzzled, what's the use case for .git/info/exclude?

@tuncbkose
Copy link
Author

I gave an example in the linked issue. If that is not convincing enough, I don't have a better one

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

Successfully merging this pull request may close these issues.

None yet

4 participants