git/list[1] front-page[2] threads[3] people[4] search[5] about
 

What is the status of merging with whitespace conflicts?

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Dec 2, 2009, 10:34 UTC
Message-ID
<46a038f90912020234g3094cccbxd8ca80c7c0b32ca4@mail.gmail.com>

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
Next: Junio C Hamano
Message 1 of 2 in “What is the status of merging with whitespace conflicts?”
  1. Martin LanghoffDec 2, 2009
  2. Junio C HamanoDec 2, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.