git 中检查代码以供审查的标准工作流程:
git fetch -a && git checkout branch-to-review
- 其他工程师进行了一些更改并推送到
branch-to-review
. git pull origin branch-to-review
更新您的本地副本以进行审查。
Arcanist 的工作流程(通过 phabricator):
arc patch D123456
- 其他工程师进行了一些更改并
arc diff
最终通过。 - ???
在我们作为代码审查员的第 3 步中,我们如何提取其他工程师的最新更改?arc diff
本地似乎想要进行更多更新,但来自我们。
arc diff --update D123456
显示此警告:
You don't own revision D123456: "Added a new feature and made some updates". Normally, you should only update revisions you
own. You can "Commandeer" this revision from the web interface if you
want to become the owner.
Update this revision anyway? [y/N]
我可以删除本地分支并再次修补它,但这似乎是明显错误的方法。