Re: [PATCH] .gitattributes: Enable cpp diff parsing for .[ch] files

From: Peter Zijlstra
Date: Mon Aug 29 2011 - 09:32:50 EST


On Fri, 2011-08-26 at 13:55 -0700, Boaz Harrosh wrote:

> But this patch is for all the people and distributions that are going
> to use the old git versions for a while, (Years).
>
> It is important for the Linux mailing-list review, because you get
> patches with:
>
> @@@ lable out:
> - change foo
> + to bazz
>
> And how the hell are you suppose to know where in the file it is.
> This is such a trivial addition, that can help unify everyone's
> usage. I don't see the down sides.

Ah, I'm using:

# cat ~/.gitconfig
[diff "default"]
xfuncname = "^[[:alpha:]$_].*[^:]$"


For this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/