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

cmd/go: Go 1.5beta2 updating GOPATH and unstaged Git repositories #11780

Closed
pierrre opened this issue Jul 18, 2015 · 1 comment
Closed

cmd/go: Go 1.5beta2 updating GOPATH and unstaged Git repositories #11780

pierrre opened this issue Jul 18, 2015 · 1 comment

Comments

@pierrre
Copy link

pierrre commented Jul 18, 2015

I use go get -v -d -u -f .../ to update all my GOPATH.
With Go 1.4.2, there was no problem.
With Go 1.5beta1/2, I get messages like this:

github.com/garyburd/redigo (download)
# cd /home/pierre/Go/src/github.com/garyburd/redigo; git pull --ff-only
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.

I need to manually reset/clean the repositories.

These messages appear randomly.
I can't reproduce this problem reliably.

Go version: 1.4.2 & 1.5beta1/2
Git version: 2.4.6
Linux version: 4.1.2-2-ARCH #1 SMP PREEMPT Wed Jul 15 08:30:32 UTC 2015 x86_64 GNU/Linux

@pierrre
Copy link
Author

pierrre commented Jul 18, 2015

Huuu sorry.
Actually, I think my IDE is running goimports on modified files during GOPATH update.

@pierrre pierrre closed this as completed Jul 18, 2015
@golang golang locked and limited conversation to collaborators Jul 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants