Skip to content
Snippets Groups Projects
Verified Commit f37c93ed authored by Clayton Craft's avatar Clayton Craft :speech_balloon: Committed by Newbyte
Browse files

ci: common: fix typo when printing upstream branch sha (MR 5718)

I was confused for a while about why the SHA printed by CI differed from
the actual upstream/master SHA:

     commit upstream/master: f822b7ee0d06f05ff6d2eb37bcf4a1825569be692
     real upstream/master: 822b7ee0
parent e03dc38b
No related branches found
No related tags found
1 merge request!5718ci: fix git clone depth being too small, and typo in debug msg
......@@ -100,7 +100,7 @@ def get_changed_files(removed=True):
commit_head = run_git(["rev-parse", "HEAD"])[:-1]
commit_upstream = run_git(["rev-parse", branch_upstream])[:-1]
print("commit HEAD: " + commit_head)
print(f"commit {branch_upstream}: f{commit_upstream}")
print(f"commit {branch_upstream}: {commit_upstream}")
# Check if we are HEAD on the upstream branch
if commit_head == commit_upstream:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment