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

Doesn't work properly when git just initialized #36

Closed
zommerfelds opened this issue Mar 11, 2018 · 1 comment · Fixed by #37
Closed

Doesn't work properly when git just initialized #36

zommerfelds opened this issue Mar 11, 2018 · 1 comment · Fixed by #37

Comments

@zommerfelds
Copy link
Contributor

mkdir tmp
cd tmp
git init
touch hello
git add hello

Prints

2018/03/11 01:19:58 Failed to parse branch name for output: [## No commits yet on master]

Same for gs. git status works

@zommerfelds zommerfelds changed the title Doesn't work properly when just initialized Doesn't work properly when git just initialized Mar 11, 2018
@mroth
Copy link
Owner

mroth commented Mar 15, 2018

Ah yes. Should be relatively simple to address by adding in ExtractBranch and adding a test case, if someone wants to take this on as a good introductory PR for the project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants