Files
2012-02-21 01:15:00 -05:00

1 line
2.7 KiB
JSON

[{"user_id": 2789, "stars": [], "topic_id": 3871, "date_created": 1297367556.931669, "message": "Within an already existing git repository what's the best way to pull in and manage external repositories? I've looked briefly at https://github.com/evilchelu/braid but I honestly expected git to do this on its own like svn:externals.", "group_id": 106, "id": 73549}, {"user_id": 3946, "stars": [], "topic_id": 3871, "date_created": 1297367800.8420761, "message": "Why not git submodules?", "group_id": 106, "id": 73567}, {"user_id": 4156, "stars": [{"date_created": 1297368925.641037, "user_id": 1736}, {"date_created": 1297375643.5423939, "user_id": 960}], "topic_id": 3871, "date_created": 1297368655.299144, "message": "Yea, git submodules are the way to go; they're somewhat inconvenient if you are used to the svn external method (which IIRC always pulls down the latest external code on every update) but are more stable by default, which can help avoid nasty breakages.", "group_id": 106, "id": 73678}, {"user_id": 2789, "stars": [], "topic_id": 3871, "date_created": 1297375449.391567, "message": "Can I have multiple sub-modules inside the same directory? Example: several sub-modules inside ~/.vim/bundles/. The reason I ask is because for this very same purpose I noticed that https://github.com/astrails/dotvim#readme was using Braid instead of git sub-modules.", "group_id": 106, "id": 75167}, {"user_id": 960, "stars": [], "topic_id": 3871, "date_created": 1297375676.5922489, "message": "@bitprophet That's the reason they go that route. It's like having \"Django\" in your requirements.txt file instead of the specific version that you know works.", "group_id": 106, "id": 75266}, {"user_id": 960, "stars": [], "topic_id": 3871, "date_created": 1297375728.179729, "message": "@adrianocastro Yes you can - git submodule add <some repo> <some path>. You end up with a .gitmodule file that looks like this: https://github.com/tswicegood/my.vim/blob/master/.gitmodules", "group_id": 106, "id": 75288}, {"user_id": 960, "stars": [{"date_created": 1297378287.806108, "user_id": 2789}], "topic_id": 3871, "date_created": 1297375808.446197, "message": "@adrianocastro As an example, say you wanted to add Align.vim like I have and you wanted it in bundle/align so Pathogen could pick it up. You'd run `git submodule add https://github.com/tsaleh/vim-align.git bundle/align`.", "group_id": 106, "id": 75316}, {"user_id": 2789, "stars": [], "topic_id": 3871, "date_created": 1297378346.475678, "message": "@tswicegood that's perfect. I was worried the .git folder would get all messed up but makes sense that it works when .gitmodules tracks all external submodules. Also, I like you my.vim repo.", "group_id": 106, "id": 75611}]