Markus Armbruster wrote:
there's an additional problem my patch fails to address:

     # Change the first '-' to a '.', so version-comparing tools work properly.
     # Remove the "g" in git describe's output string, to save a byte.
     v=`echo "$v" | sed 's/-/./;s/\(.*\)-g/\1-/'`;

Messes with '-' in tags.  I think it should replace the first '-g'
instead.  What do you think?

Sorry, I'm not following. Could you give an example of the problem? Evidently the code is messing with the first "-" and the last "-g" deliberately.

Reply via email to