[bug#59255] scripts: describe: Add branch information to recutils output.

Message ID 20221113214324.28709-1-jgart@dismail.de
State New
Headers
Series [bug#59255] scripts: describe: Add branch information to recutils output. |

Commit Message

jgart Nov. 13, 2022, 9:43 p.m. UTC
* guix/scripts/describe.scm (channel->recutils): Add branch information.
---
 guix/scripts/describe.scm | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Ludovic Courtès Nov. 19, 2022, 6:43 p.m. UTC | #1
jgart <jgart@dismail.de> skribis:

> * guix/scripts/describe.scm (channel->recutils): Add branch information.

Applied!
  

Patch

diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm
index e2233c78a5..80cd0ce00a 100644
--- a/guix/scripts/describe.scm
+++ b/guix/scripts/describe.scm
@@ -137,6 +137,7 @@  (define intro
 
   (format port "name: ~a~%" (channel-name channel))
   (format port "url: ~a~%" (channel-url channel))
+  (format port "branch: ~a~%" (channel-branch channel))
   (format port "commit: ~a~%" (channel-commit channel))
   (when intro
     (format port "introductioncommit: ~a~%"