From: Miklos Vajna Date: Tue, 16 Sep 2008 23:39:23 GMT Subject: Re: [PATCH] Teach git diff about Objective-C syntax Message-ID: <20080916233923.GF4829@genesis.frugalware.org> In-Reply-To: <1221607297-33212-1-git-send-email-jon.delStrother@bestbefore.tv> On Wed, Sep 17, 2008 at 12:21:37AM +0100, Jonathan del Strother wrote: > + { "objc", "^[\t ]*\\([-+][\t ]*([\t ]*[A-Za-z_][A-Za-z_0-9]*.*).*\\)$" // Objective-C methods > + "\\|" > + "^[\t ]*\\(\\([\t ]*[A-Za-z_][A-Za-z_0-9]*\\)\\{2,\\}[\t ]*([^;]*\\)$" // C functions > + "\\|" > + "^@\\(implementation\\|interface\\|protocol\\).*" // Objective-C class/protocol definitions Please avoid C++-style comments. Just use /* */. Thanks.