Re: [PATCH] checkpatch.pl: add support for checking patch from git repository

From: Joe Perches
Date: Sun Apr 24 2016 - 07:23:54 EST


On Sun, 2016-04-24 at 18:40 +0800, changbin.du@xxxxxxxxx wrote:
> From: "Du, Changbin" <changbin.du@xxxxxxxxx>
>
> This patch add "-g, --git" option that tread FILE as git commits
> expression. You can specify the git commit hash ID expressions,
> then these commits from your git repository will be checked.

Why would anyone want to use checkpatch on commits already in git?