diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-09-18 19:32:37 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-09-18 19:37:45 +0200 |
commit | 778c1fb4eabbb48c05f6c7555c89466d5249ebce (patch) | |
tree | 424272dff742ef12238aa4c9aed869590f6dcf4d /guix/gnupg.scm | |
parent | 59ee10754eddddb99e4a80b9e18aa12ed1b3d77a (diff) | |
download | guix-patches-778c1fb4eabbb48c05f6c7555c89466d5249ebce.tar guix-patches-778c1fb4eabbb48c05f6c7555c89466d5249ebce.tar.gz |
channels: 'channel-news-entry-commit' correctly resolves annotated tags.
Previously, 'channel-news-entry-commit' would return the tag ID rather
than the commit ID when the news entry was referred to via an annotated
tag.
Reported by Xinglu Chen <public@yoctocell.xyz>.
* guix/channels.scm (resolve-channel-news-entry-tag): Check whether the
reference points to annotated tag; resolve it if it does.
* tests/channels.scm ("channel-news, annotated tag"): New test.
Diffstat (limited to 'guix/gnupg.scm')
0 files changed, 0 insertions, 0 deletions