Tweak `file_diff_from_base` for release/1.10 branch (#66202)
authorNikita Shulga <nshulga@fb.com>
Wed, 6 Oct 2021 15:34:46 +0000 (08:34 -0700)
committerGitHub <noreply@github.com>
Wed, 6 Oct 2021 15:34:46 +0000 (08:34 -0700)
.jenkins/pytorch/common_utils.sh

index f5542d0..338b3e1 100644 (file)
@@ -63,9 +63,9 @@ function get_pr_change_files() {
 function file_diff_from_base() {
   # The fetch may fail on Docker hosts, this fetch is necessary for GHA
   set +e
-  git fetch origin master --quiet
+  git fetch origin release/1.10 --quiet
   set -e
-  git diff --name-only "$(git merge-base origin/master HEAD)" > "$1"
+  git diff --name-only "$(git merge-base origin/release/1.10 HEAD)" > "$1"
 }
 
 function get_bazel() {