mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
ec921a69e0
As noted in #41953, the introduction of `getBranchUpdateDate` did not take into account the use of a repository cache. When using a repository cache, the repo is not cloned until it is needed (and various metadata is used from the cache instead). However, when using a cache (with a repo not yet cloned) this results in `getBranchUpdateDate` failing (and a debug log appearing). We can instead handle this by performing a repo sync at this point. Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>