Browse Source

Fix typo: do not show name1 when name2 fails

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Johannes Schindelin 18 years ago committed by Junio C Hamano
parent
commit
646b329961
  1. 2
      diff-lib.c

2
diff-lib.c

@ -43,7 +43,7 @@ static int queue_diff(struct diff_options *o, @@ -43,7 +43,7 @@ static int queue_diff(struct diff_options *o,
}
if (name2) {
if (stat(name2, &st))
return error("Could not access '%s'", name1);
return error("Could not access '%s'", name2);
mode2 = st.st_mode;
}


Loading…
Cancel
Save