This function is meant to simulate what git does in the reset command, so we should include the reflog message in that.