Skip to content

Commit

Permalink
Make cherry-pick for bp3 modify
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Jan 29, 2025
1 parent 4110078 commit 084afcd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/cp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ else
git fetch --all
for commit_hash in $commit_hashes; do
# Check if commit exists in current branch
cmt=$(git branch -r --contains $commit_hash | sed 's/origin\///')
cmt=$(echo "$cmt" | sed 's/^[ \t]*//;s/[ \t]*$//')
cmt=$(git branch -r --contains 58f5241 | sed 's/origin\///' | grep -v 'HEAD' | awk '{print $1}')
echo "cmt2=$cmt"
if [ -z "$cmt" ]; then
echo "Commit $commit_hash does not exists"
Expand Down

0 comments on commit 084afcd

Please sign in to comment.