projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70f75cc
)
builtin-diff: do not say files are renamed when blob and file are given
author
Junio C Hamano
<junkio@cox.net>
Thu, 18 May 2006 21:35:37 +0000
(14:35 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 18 May 2006 21:35:37 +0000
(14:35 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-diff.c
patch
|
blob
|
history
diff --git
a/builtin-diff.c
b/builtin-diff.c
index b0c9cade02fef6d71bf45dd2fceb6d573778195e..de81b05e32f884053060448bc59c83ff70961c24 100644
(file)
--- 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;