build/tools: git_revision is not doing what we want, return "--------" for now

This commit is contained in:
Florent Kermarrec 2019-04-23 17:15:43 +02:00
parent 228f286747
commit 8b5cf29542
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ else:
return p return p
def git_revision(): def git_revision():
return subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]).strip().decode("utf-8") return "--------"
def generated_banner(line_comment="//"): def generated_banner(line_comment="//"):
r = line_comment + "-"*60 + "\n" r = line_comment + "-"*60 + "\n"