Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Files crashes when switching git branch during a merge conflict #16934

Open
el-ev opened this issue Mar 16, 2025 · 2 comments
Open

Bug: Files crashes when switching git branch during a merge conflict #16934

el-ev opened this issue Mar 16, 2025 · 2 comments
Labels
crash Bug reports involving a crash

Comments

@el-ev
Copy link
Contributor

el-ev commented Mar 16, 2025

Description

As described above.

Steps To Reproduce

  1. First, create a Git repository in a merge conflict state:
mkdir test
cd test
git init
echo "master" > test.txt
git add test.txt
git commit -m "master"
git branch b1
git branch b2
git checkout b1
echo "b1" > test.txt
git add test.txt
git commit -m "b1"
git checkout b2
echo "b2" > test.txt
git add test.txt
git commit -m "b2"
git checkout b1
git merge b2
  1. In Files, navigate to the test directory, click the Git integration tool, and switch to b2 branch by either “Bring my changes to 'b2'" or "Leave my changes on 'b1".
  2. Files will crash immediately.

Files Version

3.9.1.0

Windows Version

10.0.26100.3323

User ID

adae468e-679d-43ff-829c-81eff14cf62b

Log File

debug.log

@yaira2 yaira2 moved this from 🆕 New to 🔖 Ready to build in Files task board Mar 16, 2025
@yaira2
Copy link
Member

yaira2 commented Mar 16, 2025

Thank you for reporting this issue

@Josh65-2201 Josh65-2201 added the crash Bug reports involving a crash label Mar 16, 2025
@Lamparter
Copy link
Contributor

I can try to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Bug reports involving a crash
Projects
Status: 🔖 Ready to build
Development

No branches or pull requests

4 participants