Ref T10093. Show better errors when a commit fails because it has already been merged and when a fetch fails because the ref isn't present in the remote.
- Maniphest Tasks
- T10093: When builds fail because the staging area was not pushed, make the cause clear
- Restricted Diffusion Commit
rP19eee427adb3: Improve Drydock errors for empty commits and missing changes
we've been wondering for about a month now why on earth this would happen when no error output is produced
'git fetch %s && '. 'git checkout --force -B %s %s && '. 'git reset --hard %s && '. 'git clean -f -f -d -x',
So that was our "foolproof" method of totally nuking and resetting the contents of a workspace before leasing it out again, and ironically, it does work all of the time, unless there is nothing to change about it.