summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-03-04 22:27:10 +0100
committerLudovic Courtès <ludo@gnu.org>2026-03-10 22:53:55 +0100
commit4c7f4a0c0ea127fb7f83180fe88852c4b4e4dc75 (patch)
tree88b28338913e34caf7dec0a3c1cba5784e4705cf
parentac9f7dbce6b2a920cb4f284454a293ead16e71e3 (diff)
style: git-source: Show package name in message.
* guix/scripts/style.scm (url-fetch->git-fetch)[transform-source]: Show package name in informative message. Change-Id: I4533dfcd7abf12c2406c981bcb80b3e634d339bc Signed-off-by: Ludovic Courtès <ludo@gnu.org> Merges: #6894
-rw-r--r--guix/scripts/style.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/style.scm b/guix/scripts/style.scm
index c38efac7ed2..6ac7a903818 100644
--- a/guix/scripts/style.scm
+++ b/guix/scripts/style.scm
@@ -609,7 +609,8 @@ Return the new origin S-expression or #f if transformation isn't applicable."
(package-version package))))
(if new-origin
(begin
- (info location (G_ "transforming source from url-fetch to git-fetch~%"))
+ (info location (G_ "~a: changing source to 'git-fetch'~%")
+ (package-full-name package))
(object->string* new-origin (location-column location)))
str)))