Changed [DETACHED HEAD] message to a short hash of the detached head.