]> git.plutz.net Git - lobster/commitdiff
replace cgilite submodule with subtree
authorPaul Hänsch <paul@plutz.net>
Sat, 2 Jan 2021 09:20:10 +0000 (10:20 +0100)
committerPaul Hänsch <paul@plutz.net>
Sat, 2 Jan 2021 09:20:10 +0000 (10:20 +0100)
.gitmodules
Makefile [new file with mode: 0644]
cgilite [deleted submodule]

index 4dba977558682ee5eaa64da1a0ca3105fdfc3da6..fb3970922e1e8f2ef17a11ea80cfcf1c04cc56e6 100644 (file)
@@ -1,6 +1,3 @@
 [submodule "shcgi"]
        path = shcgi
        url = http://git.plutz.net/git/shcgi
-[submodule "cgilite"]
-       path = cgilite
-       url = http://git.plutz.net/git/cgilite
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..24781a9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+.PHONY: _subtrees
+
+_subtrees: _cgilite
+
+cgilite:
+       git subtree add --squash -P $@ https://git.plutz.net/git/$@ master
+
+_cgilite: cgilite
+       git subtree pull --squash -P $< https://git.plutz.net/git/$< master
diff --git a/cgilite b/cgilite
deleted file mode 160000 (submodule)
index 506e2f9..0000000
--- a/cgilite
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 506e2f9f146c13919e65a9bbbd844391b96bbe9d