Skip to content
  • Ed Maste's avatar
    Handle error fetching git hash/dirty state · 9a04cb31
    Ed Maste authored
    When git was installed and .git existed but was not usable for some
    reason the build failed with a confusing error due to GITHASH being
    set to "-fatal: not a git repository: <path>".
    
    Check the return value from git commands and leave GITHASH empty if
    non-zero.
    9a04cb31