title: using Notepad++ for git inside cygwin
body: <p>This is an extension of this question</p>
  
  <p><a href="https://stackoverflow.com/questions/1634161/how-do-i-use-notepad-or-other-with-msysgit/1635493#comment13111374_1635493">How do I use Notepad++ (or other) with msysgit?</a></p>
  
  <p>i have done all combinations that i can think of for my shell script.  when i have my cygwin console (im using mintty if it matters) i can type </p>
  
  <pre><code>npp {file}
  </code></pre>
  
  <p>and the file opens correctly.  but when i do a </p>
  
  <pre><code>git rebase -i HEAD~5
  </code></pre>
  
  <p>npp opens with a blank new document, not the interactive file to control the rebase.  any idea why this would be happening?</p>
  
  <pre>
  git --version
  git version 1.7.9
  </pre>
  
  <p>latest version of cygwin on a windows 7 machine and NPP 5.9.8</p>
  
  <p>also, here is my wrapper script</p>
  
  <pre class="lang-sh prettyprint-override"><code>#!/bin/sh
  "C:/Program Files (x86)/Notepad++/notepad++.exe" -multiInst -notabbar \
    -nosession -noPlugin "$*"
  </code></pre>