Please undo "Use git-merge instead of git-resolve in git-pull"

2 messages, 1 author, 2016-06-15 · open the first message on its own page

Please undo "Use git-merge instead of git-resolve in git-pull"

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:07

The new merge is totally unusable in real life.

I get 

	Need real merge but the working tree has local changes.

which is totally bogus. Sure, my working tree has local changes, but they 
have absolutely nothing to do with the stuff I merge. I almost _always_ 
keep local changes in my tree, and I worked hard to make sure that merging 
works well even despite that, and does the right thing.

Local changes are a problem ONLY IF THOSE LOCAL CHANGES INTERFERE WITH THE 
MERGE.

If the new merge policies do not allow that, then the new merge policies 
are incredibly broken. The old one did exactly the right thing for this 
case, and "git-read-tree -m" did

	Entry '%s' would be overwritten by merge. Cannot merge.

only if a file that actually needed merging was different.

			Linus

Re: Please undo "Use git-merge instead of git-resolve in git-pull"

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:07


On Wed, 21 Sep 2005, Linus Torvalds wrote:
If the new merge policies do not allow that, then the new merge policies 
are incredibly broken.
I just checked.

It _is_ incredibly broken. 

It will do 

	echo "Rewinding the tree to pristine..."
	git reset --hard $head

if any merge strategy every fails, so that check is needed for the new 
merger.

This makes merges totally unusable. It feels like the dark ages.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help