It helps to have the versioning ordered correctly, so I'd zero-pad the ${count} variable, like so:
printf "%s.%03d_%s\n" $date $count $commit printf "%s.%03d_%s\n" $date $count $commitNo comments yet.