mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-23 23:50:05 -07:00
kiss: fetch tags too
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
parent
d85028e0f1
commit
130e90b137
2
kiss
2
kiss
@ -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"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user