title: Search for string in dangling commits in Git
body: <p>The following monstrosity very nicely found a git stash containing the word Upload which is what I was looking for:</p>
  
  <pre><code>git fsck --no-reflog | awk '/dangling commit/ {print $3}' | \
  while read ref; do if [ "`git show -p $ref|grep -c Upload`" -ne 0 ]; then echo $ref ; fi ; done 
  </code></pre>
  
  <p>Is there a prettier version of this? I guess the pickaxe should work but <code>git log -g</code> doesn't see this commit. </p>