forked from OSchip/llvm-project
[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:
parent
423da61835
commit
5b3b0b355b
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue