document submodule usage

Signed-off-by: Alon Levy <alon@pobox.com>
This commit is contained in:
Alon Levy 2013-04-10 01:30:01 +03:00
parent 0f6ab7da86
commit 3cadb4a6cd

View File

@ -63,6 +63,19 @@ FAQ
This is a last resort; consult with the rest of the dev group
before taking this radical step.
:Q: What about submodules?
:A: pdf.js is supplied as a submodule, and other software may use that too,
to add a new submodule:
git submodule add <git-repo-of-fun-project> extlib/fun-project
Use it just like a snapshotted extlib directory. When a new clone of mediagoblin
is made you need to run
git submodule init
git submodule update
As noted in HackingHowto
Thanks
======