It would be helpful to support incorporation of the git hash and some parsed from (perhaps client-specified) of the git status into the build.
See https://groups.google.com/forum/#!topic/bazel-discuss/_VVkuYz0BnU for discussion.