aboutsummaryrefslogtreecommitdiff
path: root/builtin-merge.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-12-08 22:42:23 -0800
committerJunio C Hamano <gitster@pobox.com>2009-12-08 22:42:23 -0800
commit5c30b8f7dd2640a1b75fcbcdd3e175329c5b7bbe (patch)
tree3dd41869a6847564828ec508a356cec213b13a18 /builtin-merge.c
parent389e0baa942c4548c5baa60541045b8900113378 (diff)
parente2ced7de19c85f3b246480bfacdcc934c98c08ca (diff)
downloadgit-5c30b8f7dd2640a1b75fcbcdd3e175329c5b7bbe.tar.gz
git-5c30b8f7dd2640a1b75fcbcdd3e175329c5b7bbe.tar.xz
Merge branch 'mm/maint-merge-ff-error-message-fix' into maint
* mm/maint-merge-ff-error-message-fix: builtin-merge: show user-friendly error messages for fast-forward too. merge-recursive: make the error-message generation an extern function 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 d3eb5092c..921453949 100644
--- a/builtin-merge.c
+++ b/builtin-merge.c
@@ -650,6 +650,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++])