Merge pull request #187 from angt/fetch-tags

kiss: fetch tags too
This commit is contained in:
dylan 2020-09-16 17:35:48 +03:00 committed by GitHub
commit 4b7e4545f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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"
;;