returns just the hash, and uses current branch unless set in config
Merge branch 'v3.2' of git://github.com/phpwax/phpwax into v3.2

# By Charles Marshall
# Via Charles Marshall
* 'v3.2' of git://github.com/phpwax/phpwax:
  remove the order; avoids triggering filesort