mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 08:30:05 -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:
parent
8848d3f1d3
commit
27bfa92521
1
kiss
1
kiss
@ -259,6 +259,7 @@ pkg_extract() {
|
|||||||
git remote add origin "${url%[#@]*}"
|
git remote add origin "${url%[#@]*}"
|
||||||
git fetch --depth=1 origin "$com" || git fetch
|
git fetch --depth=1 origin "$com" || git fetch
|
||||||
git checkout "${com:-FETCH_HEAD}"
|
git checkout "${com:-FETCH_HEAD}"
|
||||||
|
git submodule update --init --recursive
|
||||||
} || die "$1" "Failed to clone $src"
|
} || die "$1" "Failed to clone $src"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user