/**
* This file is auto-generated on every build by cmake.
* Do not edit this, or git version information will be out of sync.
* If you wish to modify this, edit src/version.cpp.in instead.
*/

#include <version.h>
#include <myassert.h>

#define GIT_SHA1 "@GIT_SHA1@"
#define GIT_REFSPEC "@GIT_RECFSPEC@"
#define GIT_DESCRIPTION "@GIT_DESCRIPTION@"
#define GIT_LOCAL_CHANGES "@GIT_LOCAL_CHANGES@"

namespace Version {
    const std::string git_sha1 = GIT_SHA1;
    const std::string git_description = GIT_DESCRIPTION;
    const std::string git_refspec = GIT_REFSPEC;
    const std::string git_local_changes = GIT_LOCAL_CHANGES;

    bool is_dirty() {
      if (git_local_changes == "DIRTY")
      {
        return true;
      }
      ASSERT(git_local_changes == "CLEAN");
      return false;
    }
} // namespace Version