thanks again.

your explanation about go get helped.
SO i looked at the offending repo. Its not my repo, just someones on github

 github.com/pkg/sftp

What i cant work out is WHY this repo outputs weird git messages, and
others dont.
Its not blocking me working, but i am just wanting to know. I am OC
(Obsessive Compulsive) i guess :)

Maybe i shoudl just move on, but if you or others know why that repo does
what it does would be great to understand.


````
x-MacBook-Pro:pkg apple$ rm -rf sftp/

x-MacBook-Pro:pkg apple$ go get github.com/pkg/sftp

x-MacBook-Pro:pkg apple$ rm -rf sftp/

x-MacBook-Pro:pkg apple$ go get -u -v github.com/pkg/sftp

github.com/pkg/sftp (download)

github.com/kr/fs (download)

# cd /Users/apple/workspace/go/src/github.com/kr/fs; git pull --ff-only

You are not currently on a branch.

Please specify which branch you want to merge with.

See git-pull(1) for details.


    git pull <remote> <branch>


package github.com/kr/fs: exit status 1

github.com/pkg/errors (download)

Fetching https://golang.org/x/crypto/ssh?go-get=1

Parsing meta tags from https://golang.org/x/crypto/ssh?go-get=1 (status
code 200)

get "golang.org/x/crypto/ssh": found meta tag main.metaImport{Prefix:"
golang.org/x/crypto", VCS:"git", RepoRoot:"
https://go.googlesource.com/crypto"} at
https://golang.org/x/crypto/ssh?go-get=1

get "golang.org/x/crypto/ssh": verifying non-authoritative meta tag

Fetching https://golang.org/x/crypto?go-get=1

Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code
200)

golang.org/x/crypto (download)

Fetching https://golang.org/x/crypto/curve25519?go-get=1

Parsing meta tags from https://golang.org/x/crypto/curve25519?go-get=1
(status code 200)

get "golang.org/x/crypto/curve25519": found meta tag
main.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"
https://go.googlesource.com/crypto"} at
https://golang.org/x/crypto/curve25519?go-get=1

get "golang.org/x/crypto/curve25519": verifying non-authoritative meta tag

Fetching https://golang.org/x/crypto/ed25519?go-get=1

Parsing meta tags from https://golang.org/x/crypto/ed25519?go-get=1 (status
code 200)

get "golang.org/x/crypto/ed25519": found meta tag main.metaImport{Prefix:"
golang.org/x/crypto", VCS:"git", RepoRoot:"
https://go.googlesource.com/crypto"} at
https://golang.org/x/crypto/ed25519?go-get=1

get "golang.org/x/crypto/ed25519": verifying non-authoritative meta tag

Fetching https://golang.org/x/crypto/ed25519/internal/edwards25519?go-get=1

Parsing meta tags from
https://golang.org/x/crypto/ed25519/internal/edwards25519?go-get=1 (status
code 200)

get "golang.org/x/crypto/ed25519/internal/edwards25519": found meta tag
main.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"
https://go.googlesource.com/crypto"} at
https://golang.org/x/crypto/ed25519/internal/edwards25519?go-get=1

get "golang.org/x/crypto/ed25519/internal/edwards25519": verifying
non-authoritative meta tag

x-MacBook-Pro:pkg apple$

````



cheers

Joe




On Fri, Sep 16, 2016 at 2:14 AM James Bardin <j.bar...@gmail.com> wrote:

> On Thu, Sep 15, 2016 at 5:53 PM, Joe Blue <joeble...@gmail.com> wrote:
>
>> thanks James
>>
>> You lost me here.
>>
>
> Where's here? O can try to provide more detail if you let me know what
> you're not following. If you go into each repo that's not working and
> checkout master, "go get -u" will work again.
>
>
>> go get always pulls from master though ?
>>
>>
> Yes, "go get" clones the master branch if there is no local copy, and runs
> `git pull --ff-only` if the repo exists and the -u flag is provided (as you
> see in the log).
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to