diff options
author | Joe Perches <joe@perches.com> | 2015-06-25 15:03:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-25 17:00:42 -0700 |
commit | e518e9a59ec37a323b0f4785e2311a1ec1433c6d (patch) | |
tree | 854f8e6f053b56d06a071dc129732c989f74317e /kernel | |
parent | 5a6d20ce19b770c9946281783614294b3f570ab8 (diff) | |
download | linux-e518e9a59ec37a323b0f4785e2311a1ec1433c6d.tar.bz2 |
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 'kernel')
0 files changed, 0 insertions, 0 deletions