kiss: fetch tags too

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët 2020-09-16 14:22:18 +00:00
parent d85028e0f1
commit 130e90b137

2
kiss
View File

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