Support old versions of git