1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-09 06:30:36 +02:00
Files
guix/tests/git.scm
Ludovic Courtès 46f7011591 git: 'update-cached-checkout' returns the commit ID when given a tag.
Previously, starting with commit
efa578ecae, 'update-cached-checkout' would
return the OID of the annotated tag the tag points to.  With this change
it returns the OID of the commit object in all cases.

* guix/git.scm (resolve-reference): In the 'tag' case, call
'tag-target-id' and 'tag-lookup' when OID designates an annotated tag.
* tests/git.scm ("update-cached-checkout, tag"): New test.
2022-10-17 09:37:27 +02:00

11 KiB