Compare commits

..

2 Commits

Author SHA1 Message Date
Jérôme Revillard 7eecd44eb6
Merge d6cc60c2db into 1da6bf80df 2026-05-18 19:37:23 -04:00
Jerome Revillard d6cc60c2db 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-13 08:45:44 +02:00

Diff Content Not Available