--- update.orig 2013-03-05 07:33:22.607071901 +0100 +++ update 2013-03-05 07:34:21.842235259 +0100 @@ -74,7 +74,9 @@ git cat-file tag $3 | sed -n '5,$p' echo fi - prev=$(git describe "$3^" | sed 's/-g.*//') + # format should be -<# of commits>- (tagoh) + #prev=$(git describe "$3^" | sed 's/-g.*//') + prev=$(git describe "$3^" | sed 's/-[^-]*-g.*//') # the first tag in a repo will yield no $prev if [ -z "$prev" ]; then echo "Changes since the dawn of time:"