ytoolshed/multipkg — pull request #7 by cuzelac (2011-11-10 21:10:46+00:00)
Title: git-multipkg: add support for packages that live deep in a git repo

Add support for something like this:

$ git-multipkg -b https://github.com/ytoolshed/ range/libcrange

This is accomplished by changing a couple things:
- the repo is now cloned in to TEMPDIR/clone
- the package directory (inside the clone) is then symlinked to TEMPDIR/src
- 'pkg()' is then called on TEMPDIR/src just like always

I decided to add a 'clone' directory and use a symlink to TEMPDIR/src so as to not break convention.

A disadvantage to supporting this is that it can be slow for large repos when you only need a part of them.