summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorPierre-Olivier Latour <pol@mac.com>2014-12-02 05:11:12 -0800
committerEdward Thomson <ethomson@microsoft.com>2015-01-14 10:17:56 -0600
commit36fc5497810f60cacdfab249c84583d25032a150 (patch)
tree2bc5b09b87564b4946c5283f9c7d2df29c5e2e0c /include/git2/commit.h
parentd147900ea4756975effa6cb568f932a4e3eb698f (diff)
downloadlibgit2-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