[GH-ISSUE #55] libinjection as submodule #173

Closed
opened 2026-03-13 16:44:21 +03:00 by kerem · 1 comment
Owner

Originally created by @RekGRpth on GitHub (Jul 22, 2021).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/55

solve

diff --git a/.gitignore b/.gitignore
index bdbe8fa..5fd5a66 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,5 +3,4 @@ node_modules
 docs/.vuepress/dist
 yarn.lock
 package-lock.json
-inc/libinjection
 inc/libsodium
\ No newline at end of file
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..0f9c163
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "inc/libinjection"]
+	path = inc/libinjection
+	url = https://github.com/libinjection/libinjection.git
diff --git a/inc/libinjection b/inc/libinjection
new file mode 160000
index 0000000..49904c4
--- /dev/null
+++ b/inc/libinjection
@@ -0,0 +1 @@
+Subproject commit 49904c42a6e68dc8f16c022c693e897e4010a06c
Originally created by @RekGRpth on GitHub (Jul 22, 2021). Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/55 solve ```diff diff --git a/.gitignore b/.gitignore index bdbe8fa..5fd5a66 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,4 @@ node_modules docs/.vuepress/dist yarn.lock package-lock.json -inc/libinjection inc/libsodium \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0f9c163 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "inc/libinjection"] + path = inc/libinjection + url = https://github.com/libinjection/libinjection.git diff --git a/inc/libinjection b/inc/libinjection new file mode 160000 index 0000000..49904c4 --- /dev/null +++ b/inc/libinjection @@ -0,0 +1 @@ +Subproject commit 49904c42a6e68dc8f16c022c693e897e4010a06c ```
kerem 2026-03-13 16:44:21 +03:00
Author
Owner

@ADD-SP commented on GitHub (Jul 22, 2021):

For some reason, I'm not going to use git submodule, even though it's a good way to do it.

<!-- gh-comment-id:884855773 --> @ADD-SP commented on GitHub (Jul 22, 2021): For some reason, I'm not going to use `git submodule`, even though it's a good way to do it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ngx_waf#173
No description provided.