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

Build Errors #2

Closed
BoBiene opened this issue Oct 26, 2017 · 4 comments
Closed

Build Errors #2

BoBiene opened this issue Oct 26, 2017 · 4 comments

Comments

@BoBiene
Copy link

BoBiene commented Oct 26, 2017

# repo-tool .\repo-tool.go:756:14: ref.IsBranch undefined (type *plumbing.Reference has no field or method IsBranch) .\repo-tool.go:756:30: ref.IsRemote undefined (type *plumbing.Reference has no field or method IsRemote) .\repo-tool.go:756:46: ref.IsTag undefined (type *plumbing.Reference has no field or method IsTag) .\repo-tool.go:951:15: undefined: pty.Start

Seems like it is the line #756:
println(ref.IsBranch(), ref.IsRemote(), ref.IsTag(), ref.String(), "->", ref.Target().String())

and #951:
if f, err := pty.Start(res); err != nil {

Any suggestions?

@notzippy
Copy link
Owner

notzippy commented Oct 27, 2017

That function on line #756 was a new one that I was trying out and it appears the dependent library signature had changed.
Line #951 should work - did you fetch the latest package go get -u github.com/kr/pty ?
Thanks for pointing this out, I need to get back to this :-D

@BoBiene
Copy link
Author

BoBiene commented Nov 1, 2017

Thank you. Looks like the pty package is not available for Windows.
Is there a chance to get it to work on Windows?

@notzippy
Copy link
Owner

notzippy commented Nov 1, 2017 via email

@BoBiene
Copy link
Author

BoBiene commented Nov 1, 2017

Great 👍

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