-
Notifications
You must be signed in to change notification settings - Fork 158
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
Use Git submodule for 3rd party code #11
base: master
Are you sure you want to change the base?
Conversation
Instead of using a custom shell script which could also checkout a newer version of nodejs/http-parser which breaks compatibility with this project lets make use of those cool existing Git features. The joyent/http-parser repository redirects to nodejs/http-parser so lets use that directly.
yupp, that's right!,
thanks for reminding me about |
I prefer using submodules, as with scripts I always end up analyzing what it does before actually executing it. |
my vote: scripts > submodules |
Yea, me too, I am voting for scripts. |
I was trying to embed qhttp into my project which already uses submodules. so my vote to submodules. and flexibility of project file should be improved anyway. |
@Ri0n |
You could have both. Keep your script which will init the submodule. Those that know git's quirks will do it correctly without the script. It also lets you define a specific branch or tag if desired. |
Instead of using a custom shell script which could also checkout a newer version of nodejs/http-parser which breaks compatibility with this project lets make use of those cool existing Git features.
The joyent/http-parser repository redirects to nodejs/http-parser so lets use that directly.