kiss: Add message on checkout

This commit is contained in:
Dylan Araps 2020-01-16 23:48:19 +02:00
parent 66e981f81a
commit 632d3cf721
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -187,6 +187,8 @@ pkg_extract() {
case $src in case $src in
# Git repository with supplied commit hash. # Git repository with supplied commit hash.
git+*\#*) git+*\#*)
log "Checking out ${src##*#}"
git reset --hard "${src##*#}" || git reset --hard "${src##*#}" ||
die "Commit hash ${src##*#} doesn't exist" die "Commit hash ${src##*#} doesn't exist"
;; ;;