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

get the CurrentBranch from git instead of parsing text #295

Closed
wants to merge 1 commit into from
Closed

get the CurrentBranch from git instead of parsing text #295

wants to merge 1 commit into from

Conversation

1ace
Copy link
Contributor

@1ace 1ace commented Feb 20, 2019

No description provided.

func CurrentBranch() (string, error) {
cmd := New("branch")
cmd.Stdout = nil
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error in CI is because you still need this line I'm afraid. Great looking changes tho! Love deleted code!

@zaquestion
Copy link
Owner

Closing in favor of #324 to bring in these changes

@zaquestion zaquestion closed this Jul 25, 2019
@1ace 1ace deleted the currentbranch branch August 4, 2019 16:04
@1ace
Copy link
Contributor Author

1ace commented Aug 4, 2019

Hey, thanks for fixing this, and sorry for forgetting about this PR 🤦‍♂️

@zaquestion
Copy link
Owner

You're welcome, no worries, I would have poked you again, but was just on a roll at GopherCon joyfully catching up on the open PRs :)

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.

2 participants