Just use commit hash for detached head state