diff --git a/conda_forge_tick/git_utils.py b/conda_forge_tick/git_utils.py index f94cb168d..ec4d71809 100644 --- a/conda_forge_tick/git_utils.py +++ b/conda_forge_tick/git_utils.py @@ -341,7 +341,9 @@ def diffed_files( # --relative ensures that we do not assemble invalid paths below if git_dir is a subdirectory ret = self._run_git_command( - ["diff", "--name-only", "--relative", commit_a, commit_b], git_dir + ["diff", "--name-only", "--relative", commit_a, commit_b], + git_dir, + capture_text=True, ) return (git_dir / line for line in ret.stdout.splitlines())