title: Parse git log using gitpython
body: <p>In python, I want to get log of all commits for a file in a git repository and parse the information in the log (hash, author name, author mail, author date, committer name, committer mail, commit date, and commit message). Currently, I can get the raw git log using either gitpython or calling shell commands through subprocess. </p>
  
  <p>Using gitpython:</p>
  
  <pre><code>g=git.Git(path)
  loginfo=g.log("--pretty=fuller",'--follow',"&lt;filename&gt;")
  </code></pre>
  
  <p>Using subprocces call:</p>
  
  <pre><code>lines = subprocess.check_output(
          ['git', 'log','--follow',"--pretty=fuller"," 
           &lt;filename"],stderr=subprocess.STDOUT)
  </code></pre>
  
  <p>However, after that I want to parse the raw log but I am unable to find a suitable library/method in gitpython for that. Also, I would want the dates to be parsed in python datetime format as well. Can you help?</p>