diff: support --cached on unborn branches