title: How to find git commits in the repository by commit message?
body: <p>We have recently converted our SVN repositories to GIT. It seems that we lost some commits by this conversion and would like to verify this.</p>
  
  <p>So we would like to find a matching git commit for each svn commit to check whether the conversion has actually occured.</p>
  
  <p><code>$ git log|grep "some partial commit message"</code> will not suffice as it only walks through direct ancenstors and ignores branches that are not direct ancestors.</p>
  
  <p><code>$ git show &lt;commit-hash&gt;</code> will not work as svn doesn't have sha1sums.</p>
  
  <p>the closest thing I found was: <code>$  git reflog show --all  --grep="releasenotes"|xargs git show --shortstat</code> however this doesn't seem to completely work as it seems to grep in more places than just the commit message (We got a false positive).</p>
  
  <p>I also tried to use this: <code>$ git rev-list --all|xargs -n1 bash -c 'git show|head -n10'|grep -i release</code></p>
  
  <p>basically I'm lacking a good method to print the commit message without the diffs.</p>
  
  <p>[EDIT]</p>
  
  <p>I'm not exactly sure but I guess this should list all commit messages in the repository.</p>
  
  <pre><code>git rev-list --all|xargs -n1 git log -n1
  </code></pre>