X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=patch-ids.c;h=3be5d3165e0009761a0ca69e15e4a9132c6cfaff;hb=be7bae0d4821462c50c5b82633edb372fe971e9e;hp=a288fac9923a84cd05e8e7378f580ea3774e2a03;hpb=8299886619b8dab99773b5810f50c63a50b2d611;p=git.git diff --git a/patch-ids.c b/patch-ids.c index a288fac99..3be5d3165 100644 --- a/patch-ids.c +++ b/patch-ids.c @@ -121,7 +121,7 @@ int init_patch_ids(struct patch_ids *ids) { memset(ids, 0, sizeof(*ids)); diff_setup(&ids->diffopts); - ids->diffopts.recursive = 1; + DIFF_OPT_SET(&ids->diffopts, RECURSIVE); if (diff_setup_done(&ids->diffopts) < 0) return error("diff_setup_done failed"); return 0;