{"issue":{"created_at":"2011-12-05T08:45:32Z","state":"closed","updated_at":"2011-12-06T20:17:25Z","comments":7,"user":{"gravatar_id":"7e945991d1d70075cff59331d72ef4d8","id":305339,"url":"https://api.github.com/users/patcon","login":"patcon","avatar_url":"https://secure.gravatar.com/avatar/7e945991d1d70075cff59331d72ef4d8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"heavywater/pennyworth#14\r\n\r\nThe above issue made me realize that there might be a deficiency to removing the `cookbooks` dir from `.gitignore`, in that if there are submodules in the `cookbooks-sources` directory, their `.git` folders are pulled in, and this gets messy. Would some sort of per-cookbook strip option be possible?\r\n\r\n```\r\ncookbook 'mycookbook',\r\n  :path => 'cookbooks-sources',\r\n  :exclude => [ \".git\" ]\r\n```\r\n\r\nThoughts?","assignee":null,"id":2446801,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":25,"title":"Add option for :path to strip .git dir (when pulling in submodule)","html_url":"https://github.com/applicationsonline/librarian/issues/25","closed_at":"2011-12-05T15:29:34Z","url":"https://api.github.com/repos/applicationsonline/librarian/issues/25","milestone":null},"action":"created","comment":{"created_at":"2011-12-06T20:17:25Z","updated_at":"2011-12-06T20:17:25Z","user":{"gravatar_id":"7e945991d1d70075cff59331d72ef4d8","id":305339,"url":"https://api.github.com/users/patcon","login":"patcon","avatar_url":"https://secure.gravatar.com/avatar/7e945991d1d70075cff59331d72ef4d8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Hmm... good points :)\r\n\r\nSeems `cookbooks-sources` probably isn't necessary here, but I still think I'd keep things as submodules in `cookboks-in-progress`, since I think I'm going to try to get in the habit of putting my `cookbookname-cooking` vagrant repos into github, to make it simpler for people to get started hacking on anything I'm doing (and so everyone is debugging and hacking with a consistent set of cookbooks?)\r\n\r\nThanks Jay! :)","id":3038021,"url":"https://api.github.com/repos/applicationsonline/librarian/issues/comments/3038021"}}