title: perforce diff to git
body: <p>Taking perforce diff when I try to patch this using <code>git am</code>, it says "Patch format detection failed".</p>
  
  <p>How do I get my changes from perforce and apply it to git branch?</p>
  
  <p>This is the first few lines of diff</p>
  
  <pre><code>==== //depot/a.c#162 - /asdf/a.c ====
  4326a4327,4642
  &gt; /*
  &gt;  *----------------------------------------------------------------------------
  &gt;  *
  &gt;  *  --
  </code></pre>