Skip to content

Commit

Permalink
[git-tool] explicit disable rebase (openthread#10645)
Browse files Browse the repository at this point in the history
This commit adds `--no-rebase` to `git` command when applying
dependencies because recent git versions doesn't have a default rebase
strategy anymore.
  • Loading branch information
bukepo authored Aug 28, 2024
1 parent 95a4c33 commit 706013f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/git-tool
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ apply_dependencies()
echo "${dependency}"
depends_on_pr="$(echo "${dependency}" | tr -d '\r\n' | cut -d# -f2)"
echo "pr: #${depends_on_pr}"
git pull --no-edit origin "pull/${depends_on_pr}/merge"
git pull --no-edit --no-rebase origin "pull/${depends_on_pr}/merge"
done < <(grep -E "^Depends-On: *${project_name}" || true)
}

Expand Down

0 comments on commit 706013f

Please sign in to comment.