31 lines
789 B
Diff
31 lines
789 B
Diff
From ccc97d3f4e2c4229b1f08fde962f14eb2c8ea11a Mon Sep 17 00:00:00 2001
|
|
From: Luke Granger-Brown <git@lukegb.com>
|
|
Date: Sat, 22 Oct 2022 19:33:07 +0100
|
|
Subject: [PATCH 1/5] simply do not run git
|
|
|
|
---
|
|
scripts/version.py | 8 +-------
|
|
1 file changed, 1 insertion(+), 7 deletions(-)
|
|
|
|
diff --git a/scripts/version.py b/scripts/version.py
|
|
index db437da95..e5bf81083 100755
|
|
--- a/scripts/version.py
|
|
+++ b/scripts/version.py
|
|
@@ -83,13 +83,7 @@ class GitVersion:
|
|
return origins
|
|
|
|
def _exec_git(self, args):
|
|
- cmd = ["git"]
|
|
- cmd.extend(args.split(" "))
|
|
- return (
|
|
- subprocess.check_output(cmd, cwd=self.source_dir, stderr=subprocess.STDOUT)
|
|
- .strip()
|
|
- .decode()
|
|
- )
|
|
+ return ''
|
|
|
|
|
|
class Main(App):
|
|
--
|
|
2.40.1
|
|
|