Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/book/git-version

Git version objects
https://github.com/book/git-version

Last synced: about 1 month ago
JSON representation

Git version objects

Awesome Lists containing this project

README

        

NAME

Git::Version - Git version objects

SYNOPSIS

use Git::Version;

my $v = Git::Version->new( `git --version` );
print "You've got an old git" if $v lt '1.6.5';

DESCRIPTION

"Git::Version" offers specialized version objects that can compare strings
corresponding to a Git version number.

The actual comparison is handled by Git::Version::Compare, so the strings
can be version numbers, tags from "git.git" or the output of "git version"
or "git describe".

SEE ALSO

Git::Version::Compare.

AUTHOR

Philippe Bruhat (BooK)

COPYRIGHT AND LICENSE

Copyright 2016 Philippe Bruhat (BooK), all rights reserved.

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.