Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tags in commit log #47

Closed
extrawurst opened this issue May 9, 2020 · 2 comments
Closed

tags in commit log #47

extrawurst opened this issue May 9, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@extrawurst
Copy link
Owner

extrawurst commented May 9, 2020

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);
            }
        }
@extrawurst extrawurst added the enhancement New feature or request label May 9, 2020
@extrawurst
Copy link
Owner Author

image

... I think I am pretty happy with this

@extrawurst
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant