applicationsonline/librarian — Issue #25: Add option for :path to strip .git dir (when pulling in submodule)
Author: patcon
Created: 2011-12-05 08:45:32+00:00
State: open

heavywater/pennyworth#14

The 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` folder is pulled in, and this gets messy. Would some sort of per-cookbook strip option be possible?

```
cookbook 'mycookbook',
:path => 'cookbooks-sources',
:strip => [ ".git" ]
```

Thoughts?