Skip to content

Commit 10aa9a5

Browse files
committed
git diff ignore spec pdf file
1 parent 266fde1 commit 10aa9a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commit0/harness/utils.py

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

0 commit comments

Comments
 (0)