X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diff-no-index.c;h=b60d3455dae14a7a2cf2daeec8eb47fc7dcd9a09;hb=29b802aae6213d02879d21aabac1a8d2e035b583;hp=7d68b7f1bef1039b4996e662fb17968c4e3e3e79;hpb=1b118da8bd1878d78589afd9f755b9d52a9579ad;p=git.git diff --git a/diff-no-index.c b/diff-no-index.c index 7d68b7f1b..b60d3455d 100644 --- a/diff-no-index.c +++ b/diff-no-index.c @@ -252,6 +252,7 @@ void diff_no_index(struct rev_info *revs, if (queue_diff(&revs->diffopt, revs->diffopt.paths[0], revs->diffopt.paths[1])) exit(1); + diff_set_mnemonic_prefix(&revs->diffopt, "1/", "2/"); diffcore_std(&revs->diffopt); diff_flush(&revs->diffopt);