From a6af561172c1b6206e0559d04b1f3cd46c0129cb Mon Sep 17 00:00:00 2001 From: Fabian Orccon Date: Thu, 23 Mar 2023 13:42:22 +0100 Subject: [PATCH] Fix ambigous argument on git rev-parse --- cerbero/utils/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cerbero/utils/git.py b/cerbero/utils/git.py index eb799ed50..8d01b27a5 100644 --- a/cerbero/utils/git.py +++ b/cerbero/utils/git.py @@ -233,7 +233,7 @@ async def async_get_hash(config, git_dir, commit, remotes=None): return commit else: raise Exception('Cannot retrieve hash of a commit without cloning or knowing the remote') - output = await shell.async_check_output('%s rev-parse %s' % + output = await shell.async_check_output('%s rev-parse -- %s' % (GIT, commit), git_dir, env=env) return output.rstrip()