31 lines
788 B
Diff
31 lines
788 B
Diff
From ec4e9cd4058520134e3c0a86643b7662bb7ab452 Mon Sep 17 00:00:00 2001
|
|
From: Luke Granger-Brown <git@lukegb.com>
|
|
Date: Sat, 2 Mar 2024 00:05:01 +0000
|
|
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 15e029cd7..b10a8ca1a 100644
|
|
--- a/scripts/version.py
|
|
+++ b/scripts/version.py
|
|
@@ -73,13 +73,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.43.0
|
|
|