title: Git mergetool with Meld on Windows
body: <p>In Linux, my favorite merge tool is Meld, and I've had no problems using or configuring it to work with Git.  However, in Windows it has been a different story.</p>
  
  <p>First, I installed Meld from a bundle I found here: <a href="https://code.google.com/p/meld-installer/" rel="noreferrer">https://code.google.com/p/meld-installer/</a></p>
  
  <p>Then, I configured my .gitconfig like so to support Meld as the default mergetool</p>
  
  <pre><code>[merge]                                                      
      tool = meld                                                                         
  
  [mergetool "meld"]                                           
      path = C:\\Program Files (x86)\\Meld\\meld\\meld.exe
      keepBackup = false                                   
      trustExitCode = false
  </code></pre>
  
  <p>So, when I have a conflict, I do git difftool and Meld does in fact open.  However, the paths to the files that Git writes to pass to the diff tool is incorrect.  For example, even though Git generates the BASE, LOCAL, and REMOTE files in the repository directory (the location I called git mergetool from), Meld tries to open each of those files in the directory of the executable.  </p>
  
  <p>Instead of opening C:\repo\roses.txt.LOCAL.2760.txt, Meld tries to open C:\Program Files (x86)\Meld\meld\roses.txt.LOCAL.2760.txt.</p>
  
  <p>Has anyone ran into this before or know how to configure Git / Meld to work correctly in Windows?</p>