aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-16 21:48:19 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-16 21:48:19 +0000
commit9286dbd50a2f2645b8c71cb47534ff82c312266f (patch)
tree6f44c06b26ec128495c6692e81eb2a70ede7cf12
parent84df2dc3bbc213fb2fffe94c9e5c025d54106a15 (diff)
downloadcpt-9286dbd50a2f2645b8c71cb47534ff82c312266f.tar.gz
kiss: Add message on checkout
FossilOrigin-Name: f7a89f016ce0d158e576c183c45b8eb82123feed3b91fc854b5eba97c7842885
-rwxr-xr-xkiss2
1 files changed, 2 insertions, 0 deletions
diff --git a/kiss b/kiss
index 012603a..47c676f 100755
--- a/kiss
+++ b/kiss
@@ -187,6 +187,8 @@ pkg_extract() {
case $src in
# Git repository with supplied commit hash.
git+*\#*)
+ log "Checking out ${src##*#}"
+
git reset --hard "${src##*#}" ||
die "Commit hash ${src##*#} doesn't exist"
;;