diff options
author | Joe Perches <joe@perches.com> | 2015-06-26 00:03:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-26 02:00:42 +0200 |
commit | e518e9a59ec37a323b0f4785e2311a1ec1433c6d (patch) | |
tree | 854f8e6f053b56d06a071dc129732c989f74317e /scripts/sortextable.h | |
parent | checkpatch: validate MODULE_LICENSE content (diff) | |
download | linux-e518e9a59ec37a323b0f4785e2311a1ec1433c6d.tar.xz linux-e518e9a59ec37a323b0f4785e2311a1ec1433c6d.zip |
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 <joe@perches.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/sortextable.h')
0 files changed, 0 insertions, 0 deletions