The script was failing when origin/main doesn't exist. Instead of trying to detect or use a main branch, simply save the current HEAD hash and restore it when done. This works regardless of branch names or remote configuration. Also improve the clean check to use git diff-files instead of comparing to a specific branch. Change-Id: I237de4b1e8a06fd4e1e3ef08286208c130e7a6bd Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90502 Reviewed-by: Martin L Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
|---|---|---|
| .. | ||
| abandon_untouched_patches | ||
| build-release | ||
| description.md | ||
| genrelnotes | ||
| gerrit_stats.pl | ||