lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1301135423.2250.325.camel@laptop>
Date:	Sat, 26 Mar 2011 11:30:23 +0100
From:	Peter Zijlstra <peterz@...radead.org>
To:	Junio C Hamano <junio@...ox.com>
Cc:	Steven Rostedt <rostedt@...dmis.org>,
	Dario Faggioli <raistlin@...ux.it>,
	Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>,
	Gregory Haskins <ghaskins@...ell.com>,
	Mike Galbraith <efault@....de>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...l.org>
Subject: Re: [PATCH] sched: leave sched_setscheduler earlier if possible.

On Sat, 2011-03-26 at 11:26 +0100, Peter Zijlstra wrote:
> Awesome so the diff.$foo.xfuncname is about what I want, except I seem
> to need a .gitattributes file per repository. 
> 
> Is there a way to over-ride the default in a global way so that I can
> only change ~/.gitconfig and not bother with all various repos I have?
> 
> Another question, the built-in patterns consist of multiple regexes, can
> custom patterns also have multiple?
> 
> 
> So what worked for me was:
> 
> ~/.gitconfig:
> 
> [diff "cpp"]
>         xfuncname = "^[[:alpha:]$_].*[^:]$"
> 
> and linux-2.6/.gitattributes:
> 
> *.h diff=cpp
> *.c diff=cpp
> 
> What I tried was:
> 
> [diff]
>   xfuncname = "^[[:alpha:]$_].*[^:]$"
> 
> But that didn't seem to work.. I also tried ~/.gitattributes, but again,
> no joy. 

D0'h, so what worked is:

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



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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ