Compare commits

..

2 Commits

Author SHA1 Message Date
Jérôme Revillard 032dbaa308
Merge 9bdb742dd4 into 1da6bf80df 2026-05-20 09:11:27 +00:00
Jerome Revillard 9bdb742dd4 fix: resolve default branch explicitly when updating shallow-cloned custom modules
With shallow clones (--depth 1), `origin/HEAD` becomes stale after the
initial clone. The update path used `git reset --hard origin/HEAD` which
never picked up new commits pushed to the default branch.

Resolve the default branch name via `git symbolic-ref refs/remotes/origin/HEAD`,
then fetch and reset against `origin/<branch>` explicitly. Falls back to
`main` if origin/HEAD is not set.
2026-05-20 11:06:58 +02:00

Diff Content Not Available