summaryrefslogtreecommitdiff
path: root/builtin-fmt-merge-msg.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-05-29 15:01:16 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-05-29 15:01:16 -0700
commit9affecbc89538b6fd63f772b6f14047bced9345e (patch)
treeb4047fd9dec7f6dde2c1d41eae23d8ce74375dc4 /builtin-fmt-merge-msg.c
parentMerge branch 'jc/maint-add-p-coalesce-fix' (diff)
parentapply, fmt-merge-msg: use relative filenames (diff)
downloadtgif-9affecbc89538b6fd63f772b6f14047bced9345e.tar.xz
Merge branch 'sb/maint-1.6.2-opt-filename-fix'
* sb/maint-1.6.2-opt-filename-fix: apply, fmt-merge-msg: use relative filenames commit: -F overrides -t
Diffstat (limited to 'builtin-fmt-merge-msg.c')
-rw-r--r--builtin-fmt-merge-msg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-fmt-merge-msg.c b/builtin-fmt-merge-msg.c
index a7883690d7..fae1482ba9 100644
--- a/builtin-fmt-merge-msg.c
+++ b/builtin-fmt-merge-msg.c
@@ -363,6 +363,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");