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

Should I Git Commit packer_compiled #462

Closed
jrock2004 opened this issue Jul 8, 2021 · 3 comments
Closed

Should I Git Commit packer_compiled #462

jrock2004 opened this issue Jul 8, 2021 · 3 comments

Comments

@jrock2004
Copy link

I am not sure if I should commit the packer_compiled.lua file? Could that cause issues between computers? I tried looking but could not find out the answer

@wbthomason
Copy link
Owner

Up to you. It shouldn't cause issues between computers if no part of your setup is dependent on a specific computer (e.g. if you don't have cond keys that check for certain environment variables, etc.), but you certainly don't need to commit it. If you regularly run PackerCompile or PackerSync, you may see some churn in your git repo, because Lua table iteration order isn't stable, and so compile results for the same spec may differ by ordering.

@gegoune
Copy link

gegoune commented Jul 8, 2021

And exactly that (combined with constant juggling with plugins) made me to gitignore it.

@jrock2004
Copy link
Author

Thank you for this information

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

3 participants