From 8b5cf295422f13ab909b93cc92915cdaa079f911 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 23 Apr 2019 17:15:43 +0200 Subject: [PATCH] build/tools: git_revision is not doing what we want, return "--------" for now --- litex/build/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/tools.py b/litex/build/tools.py index 7800fc22e..da8631b97 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"