Skip to content

Possible to send -l to git tag? #376

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

Closed
beedub opened this issue Jan 25, 2016 · 1 comment
Closed

Possible to send -l to git tag? #376

beedub opened this issue Jan 25, 2016 · 1 comment

Comments

@beedub
Copy link

beedub commented Jan 25, 2016

Is there a way to provide options to git tag like -l? I tried to git.TagReference.list_items(repo, '-l dev*') but doesn't appear to be working

@Byron
Copy link
Member

Byron commented Jan 25, 2016

I don't think that this is possible directly, but believe it should be straightforward enough to filter tags yourself using python. Please note that iter_items(...) is more efficient in these cases.

If you seek a more elaborate reply, I recommend using Stackoverflow for questions, using the GitPython tag.

@Byron Byron closed this as completed Jan 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants