-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Make parser handle meta lines in chunk
The previous parser for Git chunks would fail to properly break up chunks with any "meta lines" (my term for them) starting with a `\` instead of `+` or `-`. This update to the parser means the parser will now correctly handle those lines, but won't include them in the patch string it constructs, as they're meta-commentary on the diff itself and not part of the edits. Signed-off-by: Andrew Lilley Brinker <[email protected]> Co-authored-by: Julian Lanson <[email protected]>
- Loading branch information
1 parent
1195ea3
commit de67bed
Showing
2 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters