revision.c: reduce implicit dependency the_repository
[gitweb.git] / diffcore-pickaxe.c
index 7a5cf446ff2d5e5313ba8c0984d439280e91abef..d2361e06a1e45a1bdb94d6f5d6d2c003ac587e30 100644 (file)
@@ -139,8 +139,8 @@ static int pickaxe_match(struct diff_filepair *p, struct diff_options *o,
                return 0;
 
        if (o->flags.allow_textconv) {
-               textconv_one = get_textconv(p->one);
-               textconv_two = get_textconv(p->two);
+               textconv_one = get_textconv(o->repo->index, p->one);
+               textconv_two = get_textconv(o->repo->index, p->two);
        }
 
        /*