Merge branch 'eb/mailinfo' into next
[gitweb.git] / builtin-diff.c
index 95d2c699b91411aeea5253ffd6f8a922dddb235f..27451d56134e08364c33c26d5074693dd4437d31 100644 (file)
@@ -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;