ci_run_n_monitor: explain why/when there might be no tracked remote

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27578>
This commit is contained in:
Eric Engestrom
2024-02-12 14:41:29 +00:00
parent a4f77ce2d4
commit ef744fa589

View File

@@ -435,6 +435,7 @@ if __name__ == "__main__":
branch_name, branch_name,
]).decode('ascii').strip() ]).decode('ascii').strip()
# Ignore local branches that do not track any remote
if tracked_remote: if tracked_remote:
remote_rev = check_output([ remote_rev = check_output([
'git', 'rev-parse', tracked_remote, 'git', 'rev-parse', tracked_remote,