guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4c7f4a0c0ea127fb7f83180fe88852c4b4e4dc75
Author: Ludovic Courtès <[email protected]>
AuthorDate: Wed Mar 4 22:27:10 2026 +0100
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 <[email protected]>
Merges: #6894
---
guix/scripts/style.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/style.scm b/guix/scripts/style.scm
index c38efac7ed..6ac7a90381 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)))