mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-21 14:18:17 -05:00
If the ref specified in "branch" is actually a tag, we were requiring
that the "commit" property must match "git rev-parse $branch", but
in the case of a tagname that actually expands to the id of the
tag object, not the commit id. We now also try to match against
"rev-parse $branch^{commit}" which expands to the actual commit
object.
We still allow the tag object for backwards compat.
12 KiB
12 KiB