Include package name in 'checked out...' message

This commit is contained in:
Henrik Lissner 2020-10-18 17:12:21 -04:00
parent 077bab4c90
commit 6778c1239c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -250,7 +250,7 @@ declaration) or dependency thereof that hasn't already been."
(let ((straight-use-package-pre-build-functions
(cons (lambda (pkg &rest _)
(when-let (commit (cdr (assoc pkg pinned)))
(print! (info "Checked out %s") commit)))
(print! (info "Checked out %s: %s") pkg commit)))
straight-use-package-pre-build-functions)))
(straight-use-package (intern package))
;; HACK Line encoding issues can plague repos with dirty