From: Jonathan Bressat Date: Thu, 14 Apr 2022 08:57:18 GMT Subject: Re: [PATCH 0/1] Be nicer to the user on tracked/untracked merge conflicts Message-ID: In-Reply-To: <220412.868rsagkus.gmgdl@evledraar.gmail.com> On Tue, Apr 12 2022, Ævar Arnfjörð Bjarmason wrote: > Do you have an example of such a non-working case? I'm not sure why it > wouldn't work. For exemple this test fail: +test_expect_success 'overwrite the file when fastforward and the same content' ' + echo content >README.md && + test_commit "init" README.md && + git branch A && + git checkout -b B && + echo content >file && + test_commit "tracked" file && + git checkout A && + echo content >file && + git merge B +' but this one works: +test_expect_success 'overwrite the file when fastforward and the same content' ' + echo content >README.md && + test_commit "init" README.md && + git branch A && + git checkout -b B && + echo content >file && + git add file && + test_commit "tracked" && + git checkout A && + echo content >file && + git merge B +' will send you a new version of our patch soon. Thanks to your reviews and help. Jonathan BRESSAT and Guillaume COGONI