Closed
Description
show tags in commit log
for name in repo.tag_names(Some(pattern))?.iter() {
let name = name.unwrap();
let obj = repo.revparse_single(name)?;
if let Some(tag) = obj.as_tag() {
print_tag(tag, args);
} else if let Some(commit) = obj.as_commit() {
print_commit(commit, name, args);
} else {
print_name(name);
}
}