summaryrefslogtreecommitdiff
path: root/tests-clar/diff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-02-22 10:19:50 -0800
committerRussell Belfer <rb@github.com>2013-02-22 10:19:50 -0800
commitf8275890676a56735b1af1abde859722f040a61c (patch)
tree2188b1f253f33a4ff4a2e32420a0a72148486282 /tests-clar/diff
parent6f9d5ce818f76d305a7aecf727ecda8cff63259c (diff)
downloadlibgit2-f8275890676a56735b1af1abde859722f040a61c.tar.gz
Replace static data with configured metric
Instead of creating three git_diff_similarity_metric statically for the various config options, just create the metric structure on demand and populate it, using the payload to specific the extra flags that should be passed to the hashsig. This removes a level of obfuscation from the code, I think.
Diffstat (limited to 'tests-clar/diff')
0 files changed, 0 insertions, 0 deletions