Need to handle git-submodules in git-archive

git, git-submodules

Solution

You can try my script http://github.com/Kentzo/git-archive-all

EDIT:

For Mac OS X users available via homebrew: `brew info git-archive-all`

Problem

I need to pack git submodules inside of tarball which I create with `git-archive`. I see that in 1.6.5 `git-archive` does not support git submodules. I see several scripts to handle this case in the net, but I'm not sure which one to pick. What is the best / most official way to do this?

Original source

Related problems