From: Florent Kermarrec Date: Tue, 23 Apr 2019 15:15:43 +0000 (+0200) Subject: build/tools: git_revision is not doing what we want, return "--------" for now X-Git-Tag: 24jan2021_ls180~1279 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b5cf295422f13ab909b93cc92915cdaa079f911;p=litex.git build/tools: git_revision is not doing what we want, return "--------" for now --- diff --git a/litex/build/tools.py b/litex/build/tools.py index 7800fc22..da8631b9 100644 --- a/litex/build/tools.py +++ b/litex/build/tools.py @@ -92,7 +92,7 @@ else: return p def git_revision(): - return subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]).strip().decode("utf-8") + return "--------" def generated_banner(line_comment="//"): r = line_comment + "-"*60 + "\n"