Skip to content

Commit

Permalink
builtin-diff: do not say files are renamed when blob and file are given
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed May 18, 2006
1 parent 70f75cc commit 065e0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 065e0b1

Please sign in to comment.