Consider the following workflow:
- make some changes
git add . && git commit -am 'update 1'arc diff, now local and phabricator code review are in sync- make some further changes and
git commit -a --amend --no-edit arc landand the local amended (unreviewed) changes are happily accepted by Arcanist and gets merged to master.
Apparently, if I don't do --amend in step 4 and create another commit, arc land would fail complaining a mismatch. But I would like to configure Arcanist so that with --amend arc land can fail as well. Is this possible?
It turns out the
arccommand I am using is monkey patched by my employer and there is a bug in the patch.