From 5fb7c241229b8788d4d7fefd4d20ad43c75ce557 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 2 Jan 2021 10:20:10 +0100 Subject: [PATCH] replace cgilite submodule with subtree --- .gitmodules | 3 --- Makefile | 9 +++++++++ cgilite | 1 - 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 Makefile delete mode 160000 cgilite diff --git a/.gitmodules b/.gitmodules index 4dba977..fb39709 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 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 index 506e2f9..0000000 --- a/cgilite +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 506e2f9f146c13919e65a9bbbd844391b96bbe9d -- 2.39.2