From 8d4fc2df58c5d5d164350ee1a010e7d3c956169b Mon Sep 17 00:00:00 2001 From: Zhixu Zhao Date: Fri, 6 Jun 2025 22:41:07 -0700 Subject: [PATCH] Fix git_remote option in compile.py `git_remote` option is one of "scm" options instead of "config" options. --- pyperformance/compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyperformance/compile.py b/pyperformance/compile.py index d7ccc3f8..b1763f6f 100644 --- a/pyperformance/compile.py +++ b/pyperformance/compile.py @@ -797,7 +797,7 @@ def getint(section, key, default=None): # [scm] conf.repo_dir = getfile('scm', 'repo_dir') conf.update = getboolean('scm', 'update', True) - conf.git_remote = getstr('config', 'git_remote', default='remotes/origin') + conf.git_remote = getstr('scm', 'git_remote', default='remotes/origin') # [compile] conf.directory = getfile('compile', 'bench_dir')