1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 13:10:33 +02:00

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
This commit is contained in:
Ludovic Courtès
2026-03-04 22:27:10 +01:00
parent ac9f7dbce6
commit 4c7f4a0c0e

View File

@@ -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)))