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

Quinn Pham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 15 10:44:00 PST 2021


quinnp created this revision.
quinnp requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113918

Files:
  llvm/utils/Reviewing/find_interesting_reviews.py


Index: llvm/utils/Reviewing/find_interesting_reviews.py
===================================================================
--- llvm/utils/Reviewing/find_interesting_reviews.py
+++ 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"))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113918.387321.patch
Type: text/x-patch
Size: 625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211115/6f33e342/attachment.bin>


More information about the llvm-commits mailing list