Introducing Git::Version::Compare
As explained last week, I took all the Git version comparison code out of Git::Repository, and moved it into a new module: Git::Version::Compare.
As explained last week, I took all the Git version comparison code out of Git::Repository, and moved it into a new module: Git::Version::Compare.
Ever since I wrote Git::Repository
, I've paid attention to supporting as many Git versions as possible.
This is possible because it is a really thin wrapper around Git, that expects only a few sub-commands to exist. Therefore the burden of making sure the Git they're using supports all the features they need is put on the user (the various version comparison methods are meant help working that out).