Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 31, 2025

Addresses feedback from PR #641 review to improve the headerOptions feature for patch generation.

Changes

  • TypeScript support: Export HeaderOptions interface for type-safe usage by consumers
  • Test coverage: Add direct tests for formatPatch with INCLUDE_HEADERS, FILE_HEADERS_ONLY, and OMIT_HEADERS constants, including multi-patch array validation
  • Documentation: Update formatPatch signature and description to document the headerOptions parameter

The feature itself was implemented in PR #641; this PR ensures it's properly exposed and tested for library consumers.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Allow more customisation of file headers in patches Add test coverage, TypeScript exports, and documentation for headerOptions Dec 31, 2025
@ExplodingCabbage
Copy link
Collaborator

Not sure what this was. Copilot got confused.

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