[llvm][fix] Inclusive language: replace master with main in find_interesting_reviews.py

As part of using inclusive language within the llvm project and to fix
the command because the master branch was renamed, this patch replaces
master with main in `find_interesting_reviews.py`.

Reviewed By: kristof.beyls

Differential Revision: https://reviews.llvm.org/D113918
This commit is contained in:
Quinn Pham 2021-11-15 12:38:26 -06:00
parent 423da61835
commit 5b3b0b355b
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ def find_reviewers_for_diff_heuristic(diff):
# 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"))