From a4b796385c6e11a531024c7c00d08d1a40861266 Mon Sep 17 00:00:00 2001 From: Ryan Downing <26515643+r-downing@users.noreply.github.com> Date: Fri, 28 Mar 2025 15:45:14 -0400 Subject: [PATCH] fix command --- testing/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/util.py b/testing/util.py index c841a9a..75a81b4 100644 --- a/testing/util.py +++ b/testing/util.py @@ -17,5 +17,5 @@ def git_commit(*args, **kwargs): def get_default_branch(): - cmd = ('git', 'config', '--get', 'init.defaultBranch') - return subprocess.getoutput(cmd).strip() or 'master' + ret = subprocess.getoutput('git config init.defaultBranch').strip() + return ret or 'master'