git: 'switch-to-ref' resolves tag targets.
authorLudovic Courtès <ludo@gnu.org>
Fri, 26 Jul 2019 09:16:10 +0000 (11:16 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 26 Jul 2019 09:21:36 +0000 (11:21 +0200)
commit10a8c2bbc6754bddb0e5d668b3ecc9050efd820b
treea858fad2771128017dbf531cc35b1af72c77976d
parent177fecb57c0c9e15249bf6a49244c9dc6eb8439c
git: 'switch-to-ref' resolves tag targets.

* guix/git.scm (switch-to-ref): In the 'tag' case, resolve the target of
the tag.
* tests/guix-build-branch.sh: Adjust test accordingly.
guix/git.scm
tests/guix-build-branch.sh