projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efdfd6c
)
Fix typo: do not show name1 when name2 fails
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Sun, 25 Feb 2007 22:34:31 +0000
(23:34 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 25 Feb 2007 22:42:23 +0000
(14:42 -0800)
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff-lib.c
patch
|
blob
|
history
diff --git
a/diff-lib.c
b/diff-lib.c
index 1d184422a5e8645684702e239051948ca386d318..17b9a56fa2d01433430f8245218b98bce0545858 100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-43,7
+43,7
@@
static int queue_diff(struct diff_options *o,
}
if (name2) {
if (stat(name2, &st))
- return error("Could not access '%s'", name
1
);
+ return error("Could not access '%s'", name
2
);
mode2 = st.st_mode;
}