X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=builtin-diff.c;h=de81b05e32f884053060448bc59c83ff70961c24;hb=f30b20282babcd77bcadef70b4e36e24cd1f6d59;hp=b0c9cade02fef6d71bf45dd2fceb6d573778195e;hpb=94cdb382583e7c87d949fb22754d795a1b956377;p=git.git diff --git a/builtin-diff.c b/builtin-diff.c index b0c9cade..de81b05e 100644 --- a/builtin-diff.c +++ b/builtin-diff.c @@ -122,7 +122,7 @@ static int builtin_diff_b_f(struct rev_info *revs, stuff_change(&revs->diffopt, canon_mode(st.st_mode), canon_mode(st.st_mode), blob[0].sha1, null_sha1, - blob[0].name, path); + path, path); diffcore_std(&revs->diffopt); diff_flush(&revs->diffopt); return 0;