summaryrefslogtreecommitdiff
path: root/builtin-merge.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-11-30 14:45:08 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-30 14:45:08 -0800
commit045c05048530b8c57c410886e5f64d91a44c2c83 (patch)
treeab68728e79a4e97bb16fe0bedbf9468daeaed585 /builtin-merge.c
parentMerge branch 'ap/maint-merge-strategy-list-fix' (diff)
parentbuiltin-merge: show user-friendly error messages for fast-forward too. (diff)
downloadtgif-045c05048530b8c57c410886e5f64d91a44c2c83.tar.xz
Merge branch 'mm/maint-merge-ff-error-message-fix'
Conflicts: merge-recursive.c
Diffstat (limited to 'builtin-merge.c')
-rw-r--r--builtin-merge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-merge.c b/builtin-merge.c
index 855cf6545e..fc7066e3c7 100644
--- a/builtin-merge.c
+++ b/builtin-merge.c
@@ -656,6 +656,7 @@ static int checkout_fast_forward(unsigned char *head, unsigned char *remote)
opts.verbose_update = 1;
opts.merge = 1;
opts.fn = twoway_merge;
+ opts.msgs = get_porcelain_error_msgs();
trees[nr_trees] = parse_tree_indirect(head);
if (!trees[nr_trees++])