title: git format-patch for all the commits to a file
body: <p>I want to get patches for all commits that are made to a file/folder.</p>
  
  <p>I can get the list of commit-id through <code>git log --format="%H"-- path/to/folder</code></p>
  
  <p>Is there a way i can get generate patches from this list.</p>
  
  <p>[edit]:</p>
  
  <p>below code partly solves my problem</p>
  
  <p><code>for c in `git log --format="%H" -- path/to/file`;do 
     git format-patch "$c^1".."$c" -o patches ;
  done</code></p>
  
  <p>since format-patch is called individually, i will get patches all numbered 0001-commit-text.patch where i will lose the order of patches. Is there any better solutions</p>