From 49810837c24019287013366172ed31c4e63ff57d Mon Sep 17 00:00:00 2001 From: AnHeuermann <38031952+AnHeuermann@users.noreply.github.com> Date: Mon, 29 Sep 2025 11:48:06 +0200 Subject: [PATCH 1/2] Fixing git config get - Fixes ` error: key does not contain a section: get` - The argument is `--get` --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index d0e94b9..5ee14df 100755 --- a/test.py +++ b/test.py @@ -1085,9 +1085,9 @@ def cpu_name(): sys.stdout.flush() sys.stdout.flush() try: - gitReferenceFilesURL = check_output_log(["git", "config", "get", "remote.origin.url"], cwd=gitReferenceFiles).decode("utf-8") + gitReferenceFilesURL = check_output_log(["git", "config", "--get", "remote.origin.url"], cwd=gitReferenceFiles).decode("utf-8") except subprocess.CalledProcessError as e: - print(str(e)) + print(e) gitReferenceFilesURL = gitReferenceFiles gitReferenceFilesVersion = check_output_log(["git", "log", '--pretty=
| Commit | Date | Author | Summary |
|---|---|---|---|
| %%h | %%ai | %%an | %%s |