{"action":"opened","issue":{"url":"https://api.github.com/repos/constabulary/gb-vendor/issues/2","labels_url":"https://api.github.com/repos/constabulary/gb-vendor/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/constabulary/gb-vendor/issues/2/comments","events_url":"https://api.github.com/repos/constabulary/gb-vendor/issues/2/events","html_url":"https://github.com/constabulary/gb-vendor/issues/2","id":76112666,"number":2,"title":"Handling of sub-repositories","user":{"login":"tobstarr","id":5281,"avatar_url":"https://avatars.githubusercontent.com/u/5281?v=3","gravatar_id":"","url":"https://api.github.com/users/tobstarr","html_url":"https://github.com/tobstarr","followers_url":"https://api.github.com/users/tobstarr/followers","following_url":"https://api.github.com/users/tobstarr/following{/other_user}","gists_url":"https://api.github.com/users/tobstarr/gists{/gist_id}","starred_url":"https://api.github.com/users/tobstarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobstarr/subscriptions","organizations_url":"https://api.github.com/users/tobstarr/orgs","repos_url":"https://api.github.com/users/tobstarr/repos","events_url":"https://api.github.com/users/tobstarr/events{/privacy}","received_events_url":"https://api.github.com/users/tobstarr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-13T20:26:03Z","updated_at":"2015-05-13T20:26:03Z","closed_at":null,"body":"What is the recommended way to deal with nested git repositories in `src/vendor`. Vendoring with `gb-vendor` is currently also storing the `.git` directories of e.g. git based libraries (as it uses `go get`) but those would be ignored by git by default and not make it into the repository.\r\n\r\nOne could just delete all `.git` dirs in `vendor/src` but there should be at least some kind of reference to which version of the library was actually vendored. Also a flag to update an existing library would make sense (e.g. just add a `-u` flag which gets added to the `go get` command if present)?"}}