summaryrefslogtreecommitdiffabout
path: root/.gitmodules
authorLars Hjemli <hjemli@gmail.com>2007-05-10 09:25:12 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-11 09:03:52 (UTC)
commitcc1dbd1b5d610bd5e626f54d310f11cf47684ea1 (patch) (side-by-side diff)
treeceede74f95d643b085232aa66a7d69d04e255208 /.gitmodules
parente743443811f5816f02a9ca67404613be97bfa615 (diff)
downloadcgit-cc1dbd1b5d610bd5e626f54d310f11cf47684ea1.zip
cgit-cc1dbd1b5d610bd5e626f54d310f11cf47684ea1.tar.gz
cgit-cc1dbd1b5d610bd5e626f54d310f11cf47684ea1.tar.bz2
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 <hjemli@gmail.com>
Diffstat (limited to '.gitmodules') (more/less context) (show whitespace changes)
-rw-r--r--.gitmodules5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..51dd1ef
--- a/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