28/11/2025 15:40, Thomas Monjalon:
> From: Ali Alnubani <[email protected]>
> 
> The checkpatches.sh script was checking if stdin is a terminal before
> honoring the -n flag, causing it to incorrectly attempt to read patches
> from stdin when run without a TTY (e.g., in Jenkins/CI pipelines).
> 
> Reorder the conditionals to check for the -n and -r flags
> before checking stdin state.
> This ensures the -n/-r flags takes precedence
> and the script checks git commits as intended.
> 
> Signed-off-by: Ali Alnubani <[email protected]>
> Signed-off-by: Thomas Monjalon <[email protected]>

Applied



Reply via email to