I need to pack git submodules inside of tarball which I create with git-archive.
git-archive
I see that in 1.6.5 git-archive does not support git submo
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
brew info git-archive-all