Use git-format-patch to generate patch feeds patches of commits to for style check.
However it generates patches using git-show instead of git-format-patch.
The problem with git-show is that its output format is configurable
through git-config, and so it might generate a illegitimate formatted
patch.  Besides, git-format-patch should be used to generate patches

TEST=Run commands below:
       cd path/to/kernel
       git config --local --add format.pretty oneline
     You should see no "ERROR: Missing Signed-off-by: line(s)".

Change-Id: Ica7e2f91ba67a4ba4d4ba1034c9594c67126b06d
Tested-by: Che-Liang Chiou <>
Reviewed-by: Mandeep Singh Baines <>
Reviewed-by: Ryan Cui <>
Commit-Queue: Che-Liang Chiou <>
1 file changed