From 17efeaa6996859afb94e72a47d994036b5bd89c2 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Tue, 10 Apr 2018 11:44:14 +0100 Subject: [PATCH] subprojects: Switch inih to a properly managed git submodule This allows us to correctly manage inih version by manually updating it, as opposed to relying on `HEAD` which will render each build unable to reproduce across changes. Additionally with submodules we can look to distribute complete tarballs of the repository to facilitate build systems that ban networking for security reasons (i.e. Solus). Signed-off-by: Ikey Doherty --- .gitignore | 1 - .gitmodules | 3 +++ subprojects/inih | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 subprojects/inih diff --git a/.gitignore b/.gitignore index 70f650c..bbbf928 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ build/ -subprojects/inih/ *.swp diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..bc84daf --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "subprojects/inih"] + path = subprojects/inih + url = https://github.com/FeralInteractive/inih.git diff --git a/subprojects/inih b/subprojects/inih new file mode 160000 index 0000000..745ada6 --- /dev/null +++ b/subprojects/inih @@ -0,0 +1 @@ +Subproject commit 745ada6724038cde32ff6390b32426cbdd5e532b