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

Fails when master is not checked out locally #10

Open
princed opened this issue Dec 11, 2018 · 2 comments
Open

Fails when master is not checked out locally #10

princed opened this issue Dec 11, 2018 · 2 comments

Comments

@princed
Copy link

princed commented Dec 11, 2018

Version: 2.2.2
Stacktrace:

fatal: malformed object name master

❌  An error occured. Was there a conflict perhaps?
error Error: fatal: malformed object name master

    at /Users/eugene/.config/yarn/global/node_modules/simple-git/promise.js:21:26
    at Git.<anonymous> (/Users/eugene/.config/yarn/global/node_modules/simple-git/src/git.js:645:18)
    at Function.Git.fail (/Users/eugene/.config/yarn/global/node_modules/simple-git/src/git.js:1478:18)
    at fail (/Users/eugene/.config/yarn/global/node_modules/simple-git/src/git.js:1436:20)
    at /Users/eugene/.config/yarn/global/node_modules/simple-git/src/git.js:1445:16
    at process._tickCallback (internal/process/next_tick.js:68:7)
@princed princed changed the title Fails when master is checked out Fails when master is not checked out locally Dec 11, 2018
@realyze
Copy link
Owner

realyze commented Dec 11, 2018

Ah yes, it does depend on master being there (I do some checking there if the branch was already merged into master so that we don't push already merged branches). I guess we don't really need that anymore (it was for pr-train 1.0 where you couldn't easily remove branches from the train).

But that should be the only place, methinks.

@realyze
Copy link
Owner

realyze commented Dec 11, 2018

Thanks for the report btw :)

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

No branches or pull requests

2 participants