From: Joe Perches Date: Wed, 6 Aug 2014 23:11:05 +0000 (-0700) Subject: checkpatch: add ability to insert and delete lines to patch/file X-Git-Tag: cleanup-for-v3.18~96^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d752fcc88b7dddc0bbe6d43b658b306a9d7d1dae;p=pandora-kernel.git checkpatch: add ability to insert and delete lines to patch/file This can be valuable to insert or delete blank lines as well as fix misplaced brace or else uses. Store indexes of lines to be added/deleted and the new lines. When creating the --fix file, insert or delete the appropriate lines and update the patch range information. Signed-off-by: Joe Perches Cc: Andy Whitcroft Cc: Dan Carpenter Cc: Josh Triplett Cc: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed