diff --git a/llvm/utils/Reviewing/find_interesting_reviews.py b/llvm/utils/Reviewing/find_interesting_reviews.py --- a/llvm/utils/Reviewing/find_interesting_reviews.py +++ b/llvm/utils/Reviewing/find_interesting_reviews.py @@ -532,7 +532,7 @@ # applies to. assert len(GIT_REPO_METADATA) == 1 git_repo = os.path.join("git_repos", GIT_REPO_METADATA[0][0]) - cmd = 'git -C {0} rev-list -n 1 --before="{1}" master'.format( + cmd = 'git -C {0} rev-list -n 1 --before="{1}" main'.format( git_repo, datetime.fromtimestamp( diff.dateModified).strftime("%Y-%m-%d %H:%M:%s"))