Skip to content

Commit 48eab30

Browse files
committed
pre-commit
1 parent 10aa9a5 commit 48eab30

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

commit0/harness/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ def generate_patch_between_commits(
183183
184184
"""
185185
try:
186-
patch = repo.git.diff(old_commit, new_commit, "--", ".", ":(exclude)spec.pdf.bz2")
186+
patch = repo.git.diff(
187+
old_commit, new_commit, "--", ".", ":(exclude)spec.pdf.bz2"
188+
)
187189
return patch + "\n\n"
188190
except git.GitCommandError as e:
189191
raise Exception(f"Error generating patch: {e}")

0 commit comments

Comments
 (0)