diff options
| author | Pierre-Olivier Latour <pol@mac.com> | 2014-12-02 05:11:12 -0800 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2015-01-14 10:17:56 -0600 |
| commit | 36fc5497810f60cacdfab249c84583d25032a150 (patch) | |
| tree | 2bc5b09b87564b4946c5283f9c7d2df29c5e2e0c /include/git2/commit.h | |
| parent | d147900ea4756975effa6cb568f932a4e3eb698f (diff) | |
| download | libgit2-36fc5497810f60cacdfab249c84583d25032a150.tar.gz | |
Added GIT_HASHSIG_ALLOW_SMALL_FILES to allow computing signatures for small files
The implementation of the hashsig API disallows computing a signature on
small files containing only a few lines. This new flag disables this
behavior.
git_diff_find_similar() sets this flag by default which means that rename
/ copy detection of small files will now work. This in turn affects the
behavior of the git_status and git_blame APIs which will now detect rename
of small files assuming the right options are passed.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions
