2023-09-16 15:00:24 +00:00
|
|
|
From a25b3c50f46a4939504bbaa1f1e0a3ab9b1ee11e Mon Sep 17 00:00:00 2001
|
2022-10-22 19:17:54 +00:00
|
|
|
From: Luke Granger-Brown <git@lukegb.com>
|
|
|
|
Date: Sat, 22 Oct 2022 19:33:07 +0100
|
2023-07-19 02:54:50 +00:00
|
|
|
Subject: [PATCH 1/5] simply do not run git
|
2022-10-22 19:17:54 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
scripts/version.py | 8 +-------
|
|
|
|
1 file changed, 1 insertion(+), 7 deletions(-)
|
|
|
|
|
2022-08-28 20:47:44 +00:00
|
|
|
diff --git a/scripts/version.py b/scripts/version.py
|
2023-09-16 15:00:24 +00:00
|
|
|
index 5a62c3a42..9c7240f8f 100755
|
2022-08-28 20:47:44 +00:00
|
|
|
--- a/scripts/version.py
|
|
|
|
+++ b/scripts/version.py
|
2023-09-16 15:00:24 +00:00
|
|
|
@@ -73,13 +73,7 @@ class GitVersion:
|
2023-07-19 02:54:50 +00:00
|
|
|
return origins
|
2022-08-28 20:47:44 +00:00
|
|
|
|
|
|
|
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):
|
2022-10-22 19:17:54 +00:00
|
|
|
--
|
2023-09-16 15:00:24 +00:00
|
|
|
2.41.0
|
2022-10-22 19:17:54 +00:00
|
|
|
|