[llvm] 5b3b0b3 - [llvm][fix] Inclusive language: replace master with main in find_interesting_reviews.py
Quinn Pham via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 15 12:06:36 PST 2021
Author: Quinn Pham
Date: 2021-11-15T14:06:30-06:00
New Revision: 5b3b0b355b37baa32c623447bef9b31f79854781
URL: https://github.com/llvm/llvm-project/commit/5b3b0b355b37baa32c623447bef9b31f79854781
DIFF: https://github.com/llvm/llvm-project/commit/5b3b0b355b37baa32c623447bef9b31f79854781.diff
LOG: [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
Added:
Modified:
llvm/utils/Reviewing/find_interesting_reviews.py
Removed:
################################################################################
diff --git a/llvm/utils/Reviewing/find_interesting_reviews.py b/llvm/utils/Reviewing/find_interesting_reviews.py
index 58b8569865772..5e72631b20383 100644
--- a/llvm/utils/Reviewing/find_interesting_reviews.py
+++ b/llvm/utils/Reviewing/find_interesting_reviews.py
@@ -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"))
More information about the llvm-commits
mailing list