From cc1dbd1b5d610bd5e626f54d310f11cf47684ea1 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Thu, 10 May 2007 11:25:12 +0200 Subject: Add submodules.sh and use it during builds This adds a shell script which can be be used to initialize, list and update submodules in a git repository. It reads the file .gitmodules to find a mapping between submodule path and repository url for the initial clone of all submodules. The script is used during cgit builds to enable automatic download and checkout of the git git repository. Signed-off-by: Lars Hjemli --- .gitmodules | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitmodules (limited to '.gitmodules') diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..51dd1ef --- /dev/null +++ b/.gitmodules @@ -0,0 +1,5 @@ +# This file maps a submodule path to an url from where the submodule +# can be obtained. The script "submodules.sh" finds the url in this file +# when invoked with -i to clone the submodules. + +git git://git.kernel.org/pub/scm/git/git.git -- cgit