OSDN Git Service

Subzero: Include commit count in revision string.
authorJim Stichnoth <stichnot@chromium.org>
Wed, 17 Aug 2016 23:20:21 +0000 (16:20 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Wed, 17 Aug 2016 23:20:21 +0000 (16:20 -0700)
commit6b0ee2aba2ccc689d658b813504fafa8ca9726ab
tree0e0787f9e4bc4fc5f8d1ccf8d6e57c0d62249277
parentefdf412032f7622a0663696896708d75b82e92f6
Subzero: Include commit count in revision string.

Instead of the version string being like this:
  Subzero_revision_efdf412032f7622a0663696896708d75b82e92f6
Make it more like this:
  Subzero_revision_1089_efdf412032f7622a0663696896708d75b82e92f6
I.e., provide both git hash and commit count.

That way, it's easier to compare revision strings and determine which one is newer.

BUG= none
R=eholk@chromium.org

Review URL: https://codereview.chromium.org/2251153002 .
CMakeLists.txt
Makefile
Makefile.standalone