Skip to content

patch: delete dead -x option #699

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

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Conversation

mknos
Copy link
Contributor

@mknos mknos commented Aug 5, 2024

  • The -x (aka --debug) option exists in the GNU version of patch, but the perl version never did anything with -x
  • Mentioning -x in the pod manual makes the useful information more difficult to find
  • This option is not covered by the standard so removing it is not a compatibility issue [1]
  • Debugging the perl version can be as simple as setting a breakpoint in Patch::apply() or Patch::Ed::apply()
  1. https://pubs.opengroup.org/onlinepubs/007904975/utilities/patch.html

* The -x (aka --debug) option exists in the GNU version of patch, but the perl version never did anything with -x
* Mentioning -x in the pod manual makes the useful information more difficult to find
* This option is not covered by the standard so removing it is not a compatibility issue [1]
* Debugging the perl version can be as simple as setting a breakpoint in Patch::apply() or Patch::Ed::apply()

1. https://pubs.opengroup.org/onlinepubs/007904975/utilities/patch.html
@mknos mknos had a problem deploying to automated_testing August 5, 2024 13:19 — with GitHub Actions Failure
@github-actions github-actions bot added the Type: enhancement improve a feature that already exists label Aug 5, 2024
@mknos mknos had a problem deploying to automated_testing August 5, 2024 13:19 — with GitHub Actions Failure
@github-actions github-actions bot added the Priority: low get to this whenever label Aug 5, 2024
@github-actions github-actions bot added the Program: patch The patch program label Aug 5, 2024
@mknos mknos had a problem deploying to automated_testing August 5, 2024 13:19 — with GitHub Actions Failure
@briandfoy briandfoy merged commit 47b34da into briandfoy:master Aug 5, 2024
1 of 22 checks passed
@briandfoy
Copy link
Owner

changes: remove -x option (debugging) that wasn't doing anything

@briandfoy briandfoy added Status: accepted The fix is accepted and removed Priority: low get to this whenever labels Aug 5, 2024
@briandfoy briandfoy self-assigned this Aug 5, 2024
@briandfoy briandfoy added Status: released there is a new release with this fix and removed Status: accepted The fix is accepted labels Sep 30, 2024
@briandfoy briandfoy added Type: compatability make it work like GNU or BSD and removed Type: enhancement improve a feature that already exists labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Program: patch The patch program Status: released there is a new release with this fix Type: compatability make it work like GNU or BSD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants