Ooh. Make git-rev-list --object associate a name with objects.