Code

apply, fmt-merge-msg: use relative filenames
[git.git] / builtin-fmt-merge-msg.c
index df18f4070f3877ed907476f2179590001ec972b7..c566c2df77b1b7da2bff11c70e06b91128fdc71e 100644 (file)
@@ -365,6 +365,7 @@ int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix)
        argc = parse_options(argc, argv, options, fmt_merge_msg_usage, 0);
        if (argc > 0)
                usage_with_options(fmt_merge_msg_usage, options);
+       inpath = parse_options_fix_filename(prefix, inpath);
 
        if (inpath && strcmp(inpath, "-")) {
                in = fopen(inpath, "r");