Skip to content

Commit 6ee4ada

Browse files
committed
Merge branch 'main' of https://github.com/commit-0/commit0 into main
2 parents b3663b7 + 48eab30 commit 6ee4ada

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)