Skip to content

Commit 9938f30

Browse files
phil-blaingitster
authored andcommitted
merge: add missing word "strategy" to a message
The variable 'best_strategy' holds the name of the merge strategy that resulted in fewer conflicts, if several strategies were tried. When that's the case but the best strategy was not the first one tried, we inform the user which strategy was the "best" one before recreating the merge and leaving the conflicted files in the tree. This informational message is missing the word "strategy", so it shows something like: Using the recursive to prepare resolving by hand. Fix that. Signed-off-by: Philippe Blain <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent eb27b33 commit 9938f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/merge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1715,7 +1715,7 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
17151715
else {
17161716
printf(_("Rewinding the tree to pristine...\n"));
17171717
restore_state(&head_commit->object.oid, &stash);
1718-
printf(_("Using the %s to prepare resolving by hand.\n"),
1718+
printf(_("Using the %s strategy to prepare resolving by hand.\n"),
17191719
best_strategy);
17201720
try_merge_strategy(best_strategy, common, remoteheads,
17211721
head_commit);

0 commit comments

Comments
 (0)