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

implemented exactTag command #23

Merged
merged 1 commit into from Jul 13, 2016
Merged

Conversation

binoz
Copy link

@binoz binoz commented Jul 13, 2016

in relation to issue #21 i implemented a new function: exactTag which will return the name of the tag matching HEAD. If no tag matches, undefined is returned.

The command used to retrieve the tag is the following

git describe --exact-match --tags HEAD

It will write to stdout the name of tag, or an error to stderr when no tag matches.

@tblobaum tblobaum merged commit 0f4266a into tblobaum:master Jul 13, 2016
@binoz binoz deleted the feature/exactTag branch July 15, 2016 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants