Reputation: 115
How can anyone check in a git-repository what commits were made because of merge conflicts?
What happened is, that I'd like to find out, in a specific branch with multiple people working on it, if a specific commit back in the past was because of a merge conflict.
I use TortoiseGit for analysis or the git bash.
Upvotes: 1
Views: 1042
Reputation: 97948
The way git stores history means that there isn't really an answer to this question. To explain:
The closest you could come would be to replay the merge, and compare the result of that with the merge commit. However, different tools and options will use different strategies to perform the merge, so there is no guarantee that the reply would actually reconstruct what the developer saw when they performed the original merge.
Upvotes: 4