Changes between Version 36 and Version 37 of SourceCodeGit


Ignore:
Timestamp:
Feb 9, 2014, 9:02:40 AM (10 years ago)
Author:
Bluefin Tuna
Comment:

Note about version sorting added

Legend:

Unmodified
Added
Removed
Modified
  • SourceCodeGit

    v36 v37  
    5555{{{
    5656$ cd boinc_repo
     57
    5758$ git status
    5859# On branch master
    5960nothing to commit, working directory clean
     61
     62# What's the most recent tag for the currently checked-out version?
     63$ git describe --always --tag
     64client_release/7.2/7.2.9
    6065}}}
    6166
     
    144149git tag
    145150}}}
    146 to list all the visible tags.
     151to list all the visible tags. Note that the tags come in *lexicographical order*, not in *version order*!
     152
     153If you want to sort them by version number:
     154
     155{{{
     156git tag | perl version_path_sorter.pl
     157}}}
     158
     159Where the source for the sorter function is here: VersionPathSorter
    147160
    148161Run