- commit
- e8bc741832375ac63e9cb4f8293c377da335cf94
- parent
- 467dfeb8f4bf2dd1ddb69e5c9592147acb425aab
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-03-29 18:50
Revert "don't use a heuristic for renames, the content must match exactly" This reverts commit 608593b0f875012875f13d28fbccd533d1266fd2.
Diffstat
M | stagit.c | 4 | +--- |
1 files changed, 1 insertions, 3 deletions
diff --git a/stagit.c b/stagit.c
@@ -123,9 +123,7 @@ commitinfo_getstats(struct commitinfo *ci) 123 123 124 124 if (git_diff_find_init_options(&fopts, GIT_DIFF_FIND_OPTIONS_VERSION)) 125 125 goto err;126 -1 /* find renames and copies, exact matches (no heuristic) for renames. */127 -1 fopts.flags |= GIT_DIFF_FIND_RENAMES | GIT_DIFF_FIND_COPIES |128 -1 GIT_DIFF_FIND_EXACT_MATCH_ONLY;-1 126 fopts.flags |= GIT_DIFF_FIND_RENAMES | GIT_DIFF_FIND_COPIES; 129 127 if (git_diff_find_similar(ci->diff, &fopts)) 130 128 goto err; 131 129