Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add branch --set-upstream
[gitweb.git]
/
builtin-fmt-merge-msg.c
diff --git
a/builtin-fmt-merge-msg.c
b/builtin-fmt-merge-msg.c
index 1248d5e3a3b87df7b72e3afeadbc082040acb7ea..9d524000b5ba4d9c7566edd5756b68d728ec362b 100644
(file)
--- a/
builtin-fmt-merge-msg.c
+++ b/
builtin-fmt-merge-msg.c
@@
-368,7
+368,7
@@
int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix)
if (inpath && strcmp(inpath, "-")) {
in = fopen(inpath, "r");
if (!in)
- die
("cannot open %s
", inpath);
+ die
_errno("cannot open '%s'
", inpath);
}
if (strbuf_read(&input, fileno(in), 0) < 0)