about summary refs log tree commit diff
path: root/.gitmodules
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-05-10 11:25:12 +0200
committerLars Hjemli <hjemli@gmail.com>2007-05-11 11:03:52 +0200
commitcc1dbd1b5d610bd5e626f54d310f11cf47684ea1 (patch)
treeceede74f95d643b085232aa66a7d69d04e255208 /.gitmodules
parentAdded git as a submodule (diff)
downloadcgit-pink-cc1dbd1b5d610bd5e626f54d310f11cf47684ea1.tar.gz
cgit-pink-cc1dbd1b5d610bd5e626f54d310f11cf47684ea1.zip
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')
-rw-r--r--.gitmodules5
1 files changed, 5 insertions, 0 deletions
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
81fdb50d3da1e87d15d&follow=1'>Simplify Makefile with pattern ruleJune McEnroe 2017-09-27Remove leading blank linesJune McEnroe 2017-09-27Add merge.c to READMEJune McEnroe 2017-09-03Assert client coords are valid after movementJune McEnroe 2017-09-03Relicense AGPLJune McEnroe 2017-09-01Revert "Add client readOnly mode"June McEnroe 2017-09-01Remove clientRemove call from clientCastJune McEnroe 2017-09-01Add client readOnly modeJune McEnroe 2017-08-31Clean up merge toolJune McEnroe 2017-08-31Choose B for tiles with equal modify timesJune McEnroe 2017-08-31Add quick data file merge toolJune McEnroe 2017-08-30Use only foreground color for selecting spawnJune McEnroe 2017-08-29Add four additional spawnsJune McEnroe 2017-08-28Add respawningJune McEnroe 2017-08-26Move license above includesJune McEnroe 2017-08-26Snapshot metadataJune McEnroe 2017-08-26Add meta.c to READMEJune McEnroe 2017-08-26Use MakefileJune McEnroe