Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Patch input contains repeated filename: "/dev/null" #219

Closed
sourcefrog opened this issue Jan 2, 2024 · 1 comment · Fixed by #220
Closed

Error: Patch input contains repeated filename: "/dev/null" #219

sourcefrog opened this issue Jan 2, 2024 · 1 comment · Fixed by #220
Assignees
Labels
bug Something isn't working small

Comments

@sourcefrog
Copy link
Owner

If the --in-diff file contains multiple deleted files, then cargo-mutants fails with this error. It should instead understand that this name means the file was deleted, and just ignore those diffs.

@sourcefrog sourcefrog added the bug Something isn't working label Jan 2, 2024
@sourcefrog sourcefrog self-assigned this Jan 2, 2024
@sourcefrog
Copy link
Owner Author

sourcefrog commented Jan 2, 2024

sourcefrog added a commit that referenced this issue Jan 2, 2024
Fixes `Error: Patch input contains repeated filename: "/dev/null"` #219
@sourcefrog sourcefrog linked a pull request Jan 2, 2024 that will close this issue
sourcefrog added a commit that referenced this issue Jan 2, 2024
Fixes `Error: Patch input contains repeated filename: "/dev/null"` #219
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working small
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant