[FFmpeg-devel] Hook for trailing whitespace

Gyan Doshi ffmpeg at gyani.pro
Mon Apr 11 13:49:33 EEST 2022



On 2022-04-11 03:49 pm, Gyan Doshi wrote:
>
> I was just prevented from pushing this patch[1] because of a trailing 
> whitespace in a .texi file. This seems to be a new git hook as it 
> wasn't in place before April 1.
>
> Doc files should be excluded from whitespace checks as they may be 
> required for formatting.

Looks like the hook is applied to ALL hunks in a patch if ANY hunk 
touches a source unit.
Can someone fine-tune the hook?

Regards,
Gyan



More information about the ffmpeg-devel mailing list