diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-10-11 11:19:54 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-17 09:37:27 +0200 |
commit | f36522416e69d95f222fdfa6404d1981eb5225b6 (patch) | |
tree | 7110dc419904e6431f7bd13c6e3ef21b2f622b6d /gnu/tests/guix.scm | |
parent | 46f7011591601b4783b2dc2c7252c41564ca0140 (diff) | |
download | guix-f36522416e69d95f222fdfa6404d1981eb5225b6.tar.gz guix-f36522416e69d95f222fdfa6404d1981eb5225b6.zip |
channels: Interpret the 'commit' field of channel as a tag or commit.
Previously the 'commit' field would always be interpreted as a commit
ID. This change adds flexibility, allowing for things like:
guix time-machine --commit=v1.2.0 -- describe
* guix/channels.scm (channel-reference): Use 'tag-or-commit' rather than 'commit'.
* guix/inferior.scm (channel-full-commit): Likewise.
* doc/guix.texi (Invoking guix pull): Document it.
(Invoking guix time-machine): Likewise.
Diffstat (limited to 'gnu/tests/guix.scm')
0 files changed, 0 insertions, 0 deletions