chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9a60965
)
dot/gitconfig.in: Change `lisp' diff-hunk header.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 14 Nov 2012 21:47:54 +0000
(21:47 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 14 Nov 2012 21:47:54 +0000
(21:47 +0000)
Search for open-parens in line 1, or definitions. This definition isn't
completely brilliant -- it finds `(default-mumble' when it shouldn't, for
example -- but it's not too bad for now. Maybe it'll get better later.
dot/gitconfig.in
patch
|
blob
|
blame
|
history
diff --git
a/dot/gitconfig.in
b/dot/gitconfig.in
index e53b153d4cbcb447eee5952d9ae1aae352b2abb5..49f75ab1971d33f4a009be7ea0c2ddb17c298d03 100644
(file)
--- a/
dot/gitconfig.in
+++ b/
dot/gitconfig.in
@@
-22,7
+22,7
@@
wordRegex = [[:alnum:]]+|[^[:space:][:alnum:]]
[diff "lisp"]
wordRegex = [[:alnum:]]+|[^[:space:][:alnum:]]
[diff "lisp"]
- xfuncname = "^
\\s*\\(def.*$
"
+ xfuncname = "^
((\\(|\\s*\\(def).*$)
"
[log]
date = rfc
[log]
date = rfc