From: Eugene Sajine Date: Fri, 06 Aug 2010 14:57:07 GMT Subject: Re: git merge - "both added" conflict resolution Message-ID: In-Reply-To: On Thu, Aug 5, 2010 at 10:41 AM, Eugene Sajine wrote: > On Wed, Aug 4, 2010 at 7:36 PM, Jonathan Nieder wrote: >> Eugene Sajine wrote: >> >>> So, I'm removing all conflict markers and removing the incoming line >>> with the property value=projectOne leaving it as projectTwo. >>> This effectively means that there is no changes in build.xml for git. >>> And I'm stuck because i cannot add file, that is not changed >> >> Sorry I wasn’t clear before.  Could you give output from attempting >> to add the file?  It is supposed to work. >> > > > There is no output after I add build.xml with resolved conflicts. When > i do git status build.xml doesn't show up there. > > I tried another way: > After i have a conflict i add the build.xml withtout resolving > conflicts. Then I unstage it - it's status changes from "both added: " > to "modified" > Then i can resolve the conflict, which means build.xml returns to it's > last committed state. But then i'm back to square one as build.xml is > not showing in changes, so i cannot add it and i still cannot commit > because of partial commit. > > Thanks, > Eugene > When i experimenting with it with test repos - it is working OK. So, i believe it will be very difficult to reproduce. I'm still having this problem with two repos of mine, but as it is not common, i gotta dig deeper there. Thanks, Eugene