For compatibility with git 1.x