Re: pulling the root commit overwrites untracked files without warning (1.7.2.3)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Clemens Buchacher
Date: Sunday, November 14, 2010 - 2:34 pm

Hi,

On Thu, Oct 21, 2010 at 04:18:19PM +0300, Gert Palok wrote:

I finally got a chance to look at this. Contrary to my initial
suspicion, it's not a problem with the merge algorithm at all. It
doesn't even do a merge.

Instead, git merge finds that it has no valid HEAD and therefore
does a hard reset, which obviously overwrites any files already
there.

Patch to follow.

Clemens
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: pulling the root commit overwrites untracked files wit ..., Clemens Buchacher, (Fri Oct 22, 2:14 pm)
Re: pulling the root commit overwrites untracked files wit ..., Clemens Buchacher, (Fri Oct 22, 2:17 pm)
Re: pulling the root commit overwrites untracked files wit ..., Clemens Buchacher, (Sun Nov 14, 2:34 pm)
[PATCH] do not overwrite untracked during merge from unbor ..., Clemens Buchacher, (Sun Nov 14, 2:46 pm)
[PATCH w/o PGP] do not overwrite untracked during merge fr ..., Clemens Buchacher, (Sun Nov 14, 2:49 pm)
[PATCH v2] do not overwrite untracked during merge from un ..., Clemens Buchacher, (Sun Nov 14, 2:53 pm)
[PATCH v3] do not overwrite untracked during merge from un ..., Clemens Buchacher, (Sun Nov 14, 3:07 pm)