name-rev: differentiate between tags and commits they point at