Filter out references that not resolve to a commit
Show reference processing progress count
Use a common function to list refs