mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 03:28:40 +02:00
* + .gitconfig with configuration for better diffing, needs a
git config --local include.path ../.gitconfig to be activated
This commit is contained in:
parent
962c5bd727
commit
d292958665
11
.gitconfig
Normal file
11
.gitconfig
Normal file
@ -0,0 +1,11 @@
|
||||
# git config entry to make more nice looking diffs
|
||||
# run
|
||||
# git config --local include.path ../.gitconfig
|
||||
# to include this file in your local git config
|
||||
|
||||
# not sure if we could do a [diff "fpc" "pascal"] or something like this
|
||||
[diff "fpc"]
|
||||
xfuncname = "^[ \\t]*(((class[ \\t]+)?(procedure|function)|constructor|destructor|[ \\t].*[ \\t]*=[ \\t]*(class|interface|object|record)|initialization|finalization)[ \\t]*.*)$"
|
||||
|
||||
[diff "pascal"]
|
||||
xfuncname = "^[ \\t]*(((class[ \\t]+)?(procedure|function)|constructor|destructor|[ \\t].*[ \\t]*=[ \\t]*(class|interface|object|record)|initialization|finalization)[ \\t]*.*)$"
|
Loading…
Reference in New Issue
Block a user