pitrou commented on code in PR #40002:
URL: https://github.com/apache/arrow/pull/40002#discussion_r1484083457
##########
dev/archery/archery/bot.py:
##########
@@ -349,7 +349,7 @@ def _clone_arrow_and_crossbow(dest, crossbow_repo,
arrow_repo_url,
# submitted from a fork's main branch (GH-39996)
git.clone('--bare', arrow_repo_url, str(bare_arrow_path))
# fetch the PR's branch into the bare clone
- git.fetch('origin', pr_ref, git_dir=bare_arrow_path)
+ git.fetch('--fetch', 'origin', pr_ref, git_dir=bare_arrow_path)
Review Comment:
Oops, I meant `--force` not `--fetch`. But your suggestion could work as
well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]