From: mu gsh Date: Tue, 15 Apr 2025 12:23:30 GMT Subject: git merge bug report Message-ID: Dear Git Maintainers, I would like to report a bug I encountered in Git during a merge operation. The method from one branch was merged into the wrong class, despite there being no reported conflict. Git Version: git version 2.49.0 Operating System: Arch Linux Description: When merging two commits involving changes to the same file, Git does not report a conflict, but the resulting merged file places a method in an unexpected class. This seems like a mismerge. Steps to Reproduce You can reproduce the issue using the following shell script: ``` #!/bin/bash set -e # init in /tmp dir rm -rf /tmp/git-merge-bug mkdir -p /tmp/git-merge-bug && cd /tmp/git-merge-bug git init cat > models.py < models.py < models.py <