Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935168AbXK3PXe (ORCPT ); Fri, 30 Nov 2007 10:23:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760953AbXK3PX0 (ORCPT ); Fri, 30 Nov 2007 10:23:26 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]:12706 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759661AbXK3PXZ (ORCPT ); Fri, 30 Nov 2007 10:23:25 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uMoDYp4HA5yn+8HzITNxItgF1AUDsePzFo4JOZ4VjuL2TcgByR4HFnEAP5EtBUv4R+kR4mSx2aAv6iohyKYVLzlrql4qOn7M+Qe9jj2WH1ERwlGuYoEXejPMXJrdpvJxHj71iE18EeGXa8a5gE/wyP6pwwArqL3Fq+6/zVSQATg= Message-ID: Date: Fri, 30 Nov 2007 18:23:22 +0300 From: "Alexey Dobriyan" To: "Kumar Gala" Subject: Re: git + checkpatch.pl? Cc: linux-kernel@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 485 Lines: 12 On 11/30/07, Kumar Gala wrote: > Does any know if there is a way to run checkpatch.pl over the index > before one does a commit? Something like .git/hooks/pre-commit hook should work. Alexey, who never used it. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/