Skip to content

Commit

Permalink
* + .gitconfig with configuration for better diffing, needs a
Browse files Browse the repository at this point in the history
    git config --local include.path ../.gitconfig
    to be activated
  • Loading branch information
FPK committed Sep 18, 2021
1 parent 962c5bd commit d292958
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -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]*.*)$"

0 comments on commit d292958

Please sign in to comment.