diff options
author | Russell Belfer <rb@github.com> | 2013-02-22 10:19:50 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-02-22 10:19:50 -0800 |
commit | f8275890676a56735b1af1abde859722f040a61c (patch) | |
tree | 2188b1f253f33a4ff4a2e32420a0a72148486282 /src/commit.c | |
parent | 6f9d5ce818f76d305a7aecf727ecda8cff63259c (diff) | |
download | libgit2-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 'src/commit.c')
0 files changed, 0 insertions, 0 deletions