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

Add to .git/info/exclude on plugin install #179

Open
andrewnicols opened this issue May 20, 2019 · 1 comment
Open

Add to .git/info/exclude on plugin install #179

andrewnicols opened this issue May 20, 2019 · 1 comment

Comments

@andrewnicols
Copy link
Contributor

It'd be great to add a line to .git/info/exclude as part of the plugin install so that it is not inadvertently added to a commit.

@FMCorz
Copy link
Owner

FMCorz commented May 20, 2019

It's a good idea. Over the years I learned to deal with dirty repository with lots of 3rd party plugins reported with git status, so it doesn't bother me. In fact, at times I did add a plugin or two to the exclude file, only then to be confused that they aren't being reported by git.

Andrew, would you think we should:

  • Add a new global config to determine whether plugin should automatically be added to the exclude file?
  • Add a new flag to add the plugin to the exclude file upon plugin install/download?
  • Handle the removal of the flag when deleting the files (with same flags/configs)?

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