README
1NAME
2
3 Git::Version::Compare - Functions to compare Git versions
4
5SYNOPSIS
6
7 use Git::Version::Compare qw( cmp_git );
8
9 # result: 1.2.3 1.7.0.rc0 1.7.4.rc1 1.8.3.4 1.9.3 2.0.0.rc2 2.0.3 2.3.0.rc1
10 my @versions = sort cmp_git qw(
11 1.7.4.rc1 1.9.3 1.7.0.rc0 2.0.0.rc2 1.2.3 1.8.3.4 2.3.0.rc1 2.0.3
12 );
13
14DESCRIPTION
15
16 Git::Version::Compare contains a selection of subroutines that make
17 dealing with Git-related things (like versions) a little bit easier.
18
19 The strings to compare can be version numbers, tags from "git.git" or the
20 output of "git version" or "git describe".
21
22 These routines collect the knowledge about Git versions that was
23 accumulated while developing Git::Repository.
24
25COPYRIGHT AND LICENSE
26
27 This software is copyright (c) 2016 by Philippe Bruhat (BooK).
28
29 This is free software; you can redistribute it and/or modify it under
30 the same terms as the Perl 5 programming language system itself.
31