javagit/src/main/java/edu/nyu/cs/javagit/api/GitVersion.java
private int compareToReleaseMinor(GitVersion that) {
        if (this.containsReleaseMinor() && that.containsReleaseMinor())
            return compareToInt(this.getReleaseMinor(), that.getReleaseMinor());
        else if (!this.containsReleaseMinor() && !that.containsReleaseMinor())
            return SAME;
        else if (this.containsReleaseMinor() && !that.containsReleaseMinor())
            return LATER;
        else
            return PREVIOUS;
    }
private int compareToReleaseMinor(GitVersion that) {
        if (this.containsReleaseMinor() && that.containsReleaseMinor())
            return compareToInt(this.getReleaseMinor(), that.getReleaseMinor());
        else if (!this.containsReleaseMinor() && !that.containsReleaseMinor())
            return SAME;
        else if (this.containsReleaseMinor() && !that.containsReleaseMinor())
            return LATER;
        else
            return PREVIOUS;
    }
private int compareToReleaseMinor ( GitVersion that ) { if ( this . containsReleaseMinor ( ) && that . containsReleaseMinor ( ) ) return compareToInt ( this . getReleaseMinor ( ) , that . getReleaseMinor ( ) ) ; else if ( ! this . containsReleaseMinor ( ) && ! that . containsReleaseMinor ( ) ) return SAME ; else if ( this . containsReleaseMinor ( ) && ! that . containsReleaseMinor ( ) ) return LATER ; else return PREVIOUS ; }
Compares minor releases values given that git version contains no tag
for none of GitVersion objects

@param that
@return  SAME if both are equal, LATER if that is previous to this or PREVIOUS otherwise
Compares minor releases values given that git version contains no tag for none of GitVersion objects