Skip to content

Commit

Permalink
fix: diffed_files must capture text
Browse files Browse the repository at this point in the history
  • Loading branch information
ytausch committed Sep 7, 2024
1 parent 8279930 commit 0c37983
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conda_forge_tick/git_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 0c37983

Please sign in to comment.