threads / discuss / 21825

What is the status of merging with whitespace conflicts?

Subject: What is the status of merging with whitespace conflicts?

## tl;dr

2 messages between Dec 2, 2009 and Dec 2, 2009.

replies: 1people: 2as markdown or json

Martin Langhoff· Dec 2, 2009, 10:34 UTC · lore

A project I hack on [Moodle] is relatively lax when it comes to trailing whitespace (relatively: we clean it up when we spot it, sometimes ws sneaks in!).

Most of the time, this has no impact. If you have done some whitespace cleanups on your branch, however, merging from upstream means endless, pointless conflicts. Looking at the git merge manpage, and searching the archives doesn't show anything promising.

Perhaps we have a merge tool that makes it easy to spot-and-resolve pure whitespace conflicts? In the middle of the merge, there _are_ some actual code conflicts, but it's hard to see them...

cheers,
m
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Junio C Hamano· Dec 2, 2009, 17:04 UTC · re: Martin Langhoff · lore

Re: What is the status of merging with whitespace conflicts?

I am not working on it, and I didn't hear from anybody who is. If you limit the whitespace-only changes to the ones that do not cross line boundary, it wouldn't be too hard to add. Probably it would take less than one summer for a good student.

← back to recent threads