Use the --parents flag to git-rev-list.
treece38e7cfa0904b80960a4cb7c4fbb39df35ba516
-rwxr-xr-x 92784 gitk