Skip to content

Conversation

@dylan-hurd-oai
Copy link
Collaborator

Summary

Right now, if a patch contains 2 @@ context lines in a row, we throw an error. This PR updates apply-patch to support this as a valid patch where subsequent @@ lines increase specificity of the search.

Testing

  • Added unit tests
  • Added an e2e scenario test

@dylan-hurd-oai dylan-hurd-oai changed the title fix(apply-patch) Support repeated @@ lines fix(apply-patch) Support nested @@ context lines Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants