Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752646AbcDXLWt (ORCPT ); Sun, 24 Apr 2016 07:22:49 -0400 Received: from smtprelay0119.hostedemail.com ([216.40.44.119]:36611 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751770AbcDXLWs (ORCPT ); Sun, 24 Apr 2016 07:22:48 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1537:1566:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2693:2828:3138:3139:3140:3141:3142:3622:3865:3867:3870:3873:3874:4250:4321:5007:6119:7576:10004:10400:10848:11232:11658:11914:12517:12519:12740:13069:13311:13357:13439:14181:14659:14721:21080:30054:30064:30070:30080:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: sleep88_8ca62ce42f35e X-Filterd-Recvd-Size: 1160 Message-ID: <1461496965.2726.50.camel@perches.com> Subject: Re: [PATCH] checkpatch.pl: add support for checking patch from git repository From: Joe Perches To: changbin.du@intel.com, apw@canonical.com Cc: linux-kernel@vger.kernel.org Date: Sun, 24 Apr 2016 04:22:45 -0700 In-Reply-To: <1461494406-30000-1-git-send-email-changbin.du@intel.com> References: <1461494406-30000-1-git-send-email-changbin.du@intel.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.2-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 378 Lines: 8 On Sun, 2016-04-24 at 18:40 +0800, changbin.du@intel.com wrote: > From: "Du, Changbin" > > 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?