[PATCH] Make do_each_ref() follow symlinks.