patch-ids: turn off rename detection
[gitweb.git] / patch-ids.c
index 082412aca66be6ce826034c5177e2f7f4b3bda58..77e46638a460bebb0efb5d95af6eeb210e276903 100644 (file)
@@ -45,6 +45,7 @@ int init_patch_ids(struct patch_ids *ids)
 {
        memset(ids, 0, sizeof(*ids));
        diff_setup(&ids->diffopts);
+       ids->diffopts.detect_rename = 0;
        DIFF_OPT_SET(&ids->diffopts, RECURSIVE);
        diff_setup_done(&ids->diffopts);
        hashmap_init(&ids->patches, (hashmap_cmp_fn)patch_id_cmp, 256);