@matheusbsbs / matheus-bagliano / commits / 065e0b126f
Fork 0

builtin-diff: do not say files are renamed when blob and file are given

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed May 18, 2006 at 14:35 UTC 065e0b126f47e0c280da6830956766ff2ea8cf17
1 file changed +1 -1
builtin-diff.c
+1 -1
@@ -122,7 +122,7 @@ static int builtin_diff_b_f(struct rev_info *revs,
122 stuff_change(&revs->diffopt,
123 canon_mode(st.st_mode), canon_mode(st.st_mode),
124 blob[0].sha1, null_sha1,
125 - blob[0].name, path);
125 + path, path);
126 diffcore_std(&revs->diffopt);
127 diff_flush(&revs->diffopt);
128 return 0;