Skip to content

Remove newline from RE_DIFF_GIT_{DELETED,NEW}_FILE#97

Merged
matiasb merged 1 commit intomatiasb:masterfrom
cpackham:deleted-file
Jun 19, 2022
Merged

Remove newline from RE_DIFF_GIT_{DELETED,NEW}_FILE#97
matiasb merged 1 commit intomatiasb:masterfrom
cpackham:deleted-file

Conversation

@cpackham
Copy link
Copy Markdown

@cpackham cpackham commented Jun 7, 2022

RE_DIFF_GIT_DELETED_FILE and RE_DIFF_GIT_NEW_FILE match on a complete
line pattern 'r^$' so including \n in the pattern leads to the pattern
not matching. Remove the \n.

RE_DIFF_GIT_DELETED_FILE and RE_DIFF_GIT_NEW_FILE match on a complete
line pattern 'r^$' so including `\n` in the pattern leads to the pattern
not matching. Remove the `\n`.
@matiasb
Copy link
Copy Markdown
Owner

matiasb commented Jun 17, 2022

Thanks for the report and the PR, will take a look in the coming days (and probably prepare a release soon after) 👍

@matiasb matiasb merged commit ade972f into matiasb:master Jun 19, 2022
@cpackham cpackham deleted the deleted-file branch June 20, 2022 08:17
kergoth pushed a commit to kergoth/meta-sokol-flex that referenced this pull request Sep 6, 2022
Upgrade from 0.7.3 to 0.7.4 to pick up
matiasb/python-unidiff#97. This fixes the
warning encountered when running python3:do_archive_release_downloads.

JIRA: SB-20262

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
kergoth pushed a commit to kergoth/meta-sokol-flex that referenced this pull request Sep 7, 2022
Apply the fix from matiasb/python-unidiff#97.
This fixes the warning encountered when running
python3:do_archive_release_downloads.

JIRA: SB-20262

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
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.

3 participants