Skip to content

Commit

Permalink
fix: Fix ambiguous syntax in git diff command Update sierra_update_ch… (
Browse files Browse the repository at this point in the history
  • Loading branch information
0xminds authored Jan 13, 2025
1 parent ec1caa6 commit f6aaaa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sierra_update_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ HEAD_BRANCH=$2

# Assuming all updates are provided as inputs - finding if they are in any of the relevant crates.
MERGE_BASE=$(git merge-base $BASE_BRANCH $HEAD_BRANCH)
git diff --name-only $MERGE_BASE $HEAD_BRANCH | grep \
git diff --name-only $MERGE_BASE..$HEAD_BRANCH | grep \
-e 'crate/cairo-lang-sierra/' \
-e 'crate/cairo-lang-sierra-gas/' \
-e 'crate/cairo-lang-sierra-ap-change/' \
Expand Down

0 comments on commit f6aaaa3

Please sign in to comment.