Closed eitsupi closed 1 year ago
There is no commit 53277fece0515762daf614069fa5c11eaf1edee0
that can be seen in the git CLI and gert, and it appears that commit e7373ef832b49b2a9b88162cfe7eac5f22c40b34
only detected by gert is the commit that currently has tag v2022.07.2+576
......
Perhaps a cache or other issue?
https://github.com/rstudio/rstudio/commit/e7373ef832b49b2a9b88162cfe7eac5f22c40b34
I learned about this recently: this means the tag is an annotated tag object. The value with ^{}
is the peeled version of the annotated tag, i.e. the actual reference to a commit like a lightweight tag. See more details here.
FWIW, the results are consistent with command line git:
git ls-remote https://github.com/rstudio/rstudio | grep '2022.07.2+576'
53277fece0515762daf614069fa5c11eaf1edee0 refs/tags/v2022.07.2+576
e7373ef832b49b2a9b88162cfe7eac5f22c40b34 refs/tags/v2022.07.2+576^{}
Thank you for the explanation! Git is very deep......
Thank you for developing this wonderful package.
I have been using this package to monitor the release of new versions of RStudio and today I noticed an error detecting a tag that does not exist (
v2022.07.2+576^{}
). https://github.com/rocker-org/rocker-versioned2/actions/runs/3104603323/jobs/5030296512I don't know if this is a bug of
gert
, but using git on the command line does not seem to detect this non-existent tag.I am wondering why git cli and
gert
work differently.