Skip to content

Commit

Permalink
[llvm][fix] Inclusive language: replace master with main in find_inte…
Browse files Browse the repository at this point in the history
…resting_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
  • Loading branch information
Quinn Pham authored and Quinn Pham committed Nov 15, 2021
1 parent 423da61 commit 5b3b0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/utils/Reviewing/find_interesting_reviews.py
Expand Up @@ -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"))
Expand Down

0 comments on commit 5b3b0b3

Please sign in to comment.