]> Git Repo - linux.git/commit
checkpatch: emit an error when there's a diff in a changelog
authorJoe Perches <[email protected]>
Thu, 25 Jun 2015 22:03:27 +0000 (15:03 -0700)
committerLinus Torvalds <[email protected]>
Fri, 26 Jun 2015 00:00:42 +0000 (17:00 -0700)
commite518e9a59ec37a323b0f4785e2311a1ec1433c6d
tree854f8e6f053b56d06a071dc129732c989f74317e
parent5a6d20ce19b770c9946281783614294b3f570ab8
checkpatch: emit an error when there's a diff in a changelog

People often put diff snippets in changelogs.  This causes problems
when one tries to apply a file containing both the changelog and the
diff because patch(1) tries to apply the diff which it found in the
changelog.

Warn once when what seems to be a diff snippet in the changelog exists.

Signed-off-by: Joe Perches <[email protected]>
Suggested-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/checkpatch.pl
This page took 0.053396 seconds and 4 git commands to generate.