build/tools: git_revision is not doing what we want, return "--------" for now
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 23 Apr 2019 15:15:43 +0000 (17:15 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 23 Apr 2019 15:15:43 +0000 (17:15 +0200)
litex/build/tools.py

index 7800fc22e204ad53dbb9fe1146420979f630390f..da8631b97029089d2adce93e53cb75da7ba7ac47 100644 (file)
@@ -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"