[Libvirt-cim] [PATCH] autoconfiscate.sh: Use proper command for revision count

Eduardo Lima (Etrunko) eblima at linux.vnet.ibm.com
Tue Jan 17 17:28:44 UTC 2012


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 at br.ibm.com




More information about the Libvirt-cim mailing list