scripts: check spacing after commit references