When doing an arc land of a local branch that was previously uploaded for review with arc diff, using the --hold option leaves you in a detached head state with your commit ahead of origin/your_landing_branch_here
List of steps to re-create here:
- git checkout master
- git pull
- git checkout -b new_feature
- vim testfile
- edit some stuff
- Git add, commit etc...
- arc diff
- Review (or not)
- arc land --hold
arc land --hold --trace output can be viewed at P1906
Git history left in the following state (git log --oneline --decorate)
eb35b52 (HEAD) Test land --hold e6ecc67 (origin/master, master) Changes to be landed 3f34ad8 test commit b9aeefb Test change