title: Git `format-patch` returns nothing
body: <p>I am trying to create a patch for a commit in my repository.</p>
  
  <ul>
  <li>System: Windows 10</li>
  <li>Tools Git Windows Desktop and Git Shell <code>git --version =&gt; git version 2.10.1.windows.1</code></li>
  </ul>
  
  <p>When I try to create the patch I go:</p>
  
  <pre><code>git format-patch master
  git format-patch master -o C:\Users\MyUser\Desktop
  git format-patch master --stdout &gt; C:\Users\MyUser\Desktop\MyPatch.patch
  </code></pre>
  
  <p>In all 3 cases, I get nothing. In the first 2 cases, no file is saved in the locations I specify. In the third case, the generated file is 0 bytes.</p>
  
  <h3>State of my repository</h3>
  
  <p>I have pushed everything to master. So I have no more local unstaged or staged commits. Everything is on the server.</p>
  
  <p>Also, if I change a file and have unstaged changes, still it does not work.</p>
  
  <p>I've also tried:</p>
  
  <pre><code>git format-patch &lt;ccommit-sha&gt;
  </code></pre>
  
  <p>Using the SHA hash of a commit I pushed. Still does not work.</p>
  
  <p>What am I doing wrong?</p>