git-archive and submodules
- From
Whit Armstrong <armstrong.whit@gmail.com>
- Date
- Mar 29, 2008, 13:47 UTC
- Message-ID
- <8ec76080803290647h25e86f18k7a86bc4cb2cc3d38@mail.gmail.com>
Is there a way to ask git-archive to archive the submodules of the project as well?
I have a project that needs it's submoduels distributed with it.
Is anyone else using submodules in this way?
my project is: git://repo.or.cz/fts.git
It has a submodule: tslib at git://repo.or.cz/tslib.git
I create the archive by: git archive --format=tar --prefix=fts/ HEAD | gzip > ~/fts.tar.gz
and when I go into the tslib submodule directory after expanding the archive, it is empty.
-Whit