From 229a690342791af762492710c23dd0abaa013b76 Mon Sep 17 00:00:00 2001 From: Zyad Hassan Date: Thu, 5 Jun 2025 14:45:09 -0700 Subject: [PATCH] Fix the git log command in the toolchain update script --- scripts/toolchain_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/toolchain_update.sh b/scripts/toolchain_update.sh index 856c346e542c..ce656337fc2e 100755 --- a/scripts/toolchain_update.sh +++ b/scripts/toolchain_update.sh @@ -50,7 +50,7 @@ then EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) echo "git_log<<$EOF" >> $GITHUB_ENV - git log --oneline $current_toolchain_hash..$next_toolchain_hash | \ + git log --oneline --ancestry-path $current_toolchain_hash..$next_toolchain_hash | \ sed 's#^#https://github.com/rust-lang/rust/commit/#' >> $GITHUB_ENV echo "$EOF" >> $GITHUB_ENV