1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 14:05:41 -07:00

Add submodule support to kiss.

Simple pr that adds support for submodules basically adds no time to repos that dont have submodules as far as I can tell.
This commit is contained in:
muevoid 2020-07-21 04:59:19 +00:00 committed by GitHub
parent 8848d3f1d3
commit 27bfa92521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
kiss
View File

@ -259,6 +259,7 @@ pkg_extract() {
git remote add origin "${url%[#@]*}"
git fetch --depth=1 origin "$com" || git fetch
git checkout "${com:-FETCH_HEAD}"
git submodule update --init --recursive
} || die "$1" "Failed to clone $src"
;;