On 01/17/2012 03:06 PM, Chip Vincent wrote:
I like this better than the current hack, but the syntax does not
seems
correct. On RHEL 6.2:
So it seems git in RHEL is quite old. I don't know when it was added but
you can use git rev-list HEAD | wc -l in this case.
Can you check with "git rev-list --help" if it includes the --count option?
Best regards, Etrunko
--
Eduardo de Barros Lima
Software Engineer, Open Virtualization
Linux Technology Center - IBM/Brazil
eblima(a)br.ibm.com