mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
619c318dcb
When we fetch e.g. `main`, the branch name will not be available locally, and `rev-parse` will fail later. We can make the logic more safe by just using `FETCH_HEAD` then. PR Close #50767