Skip to content

[pull] main from laravel:main#93

Merged
pull[bot] merged 1 commit into
johnbacon:mainfrom
laravel:main
Jun 19, 2026
Merged

[pull] main from laravel:main#93
pull[bot] merged 1 commit into
johnbacon:mainfrom
laravel:main

Conversation

@pull

@pull pull Bot commented Jun 19, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Pint's --diff implementation used --diff-filter=AM internally, which
only captures Added and Modified files. This explicitly excludes any
file that git tracks as a rename (status R), so a file you authored
fresh and later renamed before pushing would never be picked up, even
though it clearly belongs in the diff.

Adding R to the filter (--diff-filter=AMR) on all three diff commands
(committed, staged, and unstaged) closes this gap.

No tests were added for this change. The PathsRepository contract is
fully mocked at every level of the test suite, which makes it
impractical to exercise the actual git subprocess arguments. The filter
flag is a Git built-in whose behaviour is well-specified; there is no
application logic here to test beyond the flag value itself.
@pull pull Bot locked and limited conversation to collaborators Jun 19, 2026
@pull pull Bot added the ⤵️ pull label Jun 19, 2026
@pull pull Bot merged commit 927875c into johnbacon:main Jun 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant