summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-02-22 10:21:02 -0800
committerRussell Belfer <rb@github.com>2013-02-22 10:21:02 -0800
commit0a0089131f6e3c0d6be35c47dd243c87cf8c3fc9 (patch)
treeb863f9571bac1d10f724b0e864b1b68226c0073a /src/commit.c
parentf8275890676a56735b1af1abde859722f040a61c (diff)
downloadlibgit2-0a0089131f6e3c0d6be35c47dd243c87cf8c3fc9.tar.gz
Minor improvements to find_similar code
This moves a couple of checks outside of the inner loop of the find_similar rename/copy detection phase that are only dependent on the "from" side of a detection. Also, this replaces the inefficient initialization of the options structure when a value is not provided explicitly by the user.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions