diff options
| author | Vicent Martà <vicent@github.com> | 2013-02-27 14:50:32 -0800 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2013-02-27 14:50:32 -0800 |
| commit | e68e33f33d98c171d31dac33257250b5ecded4c9 (patch) | |
| tree | 527f7c1f05dfd0427a82410a0a51c39fa6a33044 /src/checkout.c | |
| parent | 9f9477d650c33eddad9cb48c5ec84cd703300c16 (diff) | |
| parent | 1be4ba984216dfcb1f07945240c2831395fd0460 (diff) | |
| download | libgit2-e68e33f33d98c171d31dac33257250b5ecded4c9.tar.gz | |
Merge pull request #1233 from arrbee/file-similarity-metric
Add file similarity scoring to diff rename/copy detection
Diffstat (limited to 'src/checkout.c')
| -rw-r--r-- | src/checkout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkout.c b/src/checkout.c index eda3e0b4b..040ead2f6 100644 --- a/src/checkout.c +++ b/src/checkout.c @@ -78,7 +78,7 @@ static int checkout_notify( git_oid_cpy(&wdfile.oid, &wditem->oid); wdfile.path = wditem->path; wdfile.size = wditem->file_size; - wdfile.flags = GIT_DIFF_FILE_VALID_OID; + wdfile.flags = GIT_DIFF_FLAG_VALID_OID; wdfile.mode = wditem->mode; workdir = &wdfile; |
