Skip to content
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

--diff option do not compare changes from provided branch #361

Open
nkzx opened this issue Mar 11, 2025 · 1 comment
Open

--diff option do not compare changes from provided branch #361

nkzx opened this issue Mar 11, 2025 · 1 comment

Comments

@nkzx
Copy link

nkzx commented Mar 11, 2025

Pint Version

1.21.1

PHP Version

8.3.1

Description

I am experiencing an issue with the --diff option.

Despite the fix provided in https://github.com/laravel/pint/releases/tag/v1.21.0, the issue is still producing and provide this :

Image

I tried to run command in local environment and in a github action, same effect. removing the option preset does not change the output.

Steps To Reproduce

pint --diff=main --preset laravel

Copy link

Thank you for reporting this issue!

As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.

If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants