When I merge large changes, git often gets hopelessly confused because it's not using enough context lines. It gets mixed up between the similar-looking endings of two different subroutines that both happen to end with:
.
return 1;
.
}
(dots used here to represent blank lines)
When I use 'git diff', I can say -U20 to see 20 lines of context. But can I tell git to use this flag when it merges, too?
Could the answer be related to merge strategies/options, such as:
git merge -s recursive -X patience [branch]