Well, iirc 'go get' looks for a branch matching the version of go (e.g. 'go1'), but there are not additional ways of specifying branches.
Domas On Tue, Aug 12, 2014 at 12:13 PM, Nate Finch <[email protected]> wrote: > Nope, go get always gets "master" for git branches. > On Aug 12, 2014 4:25 AM, "roger peppe" <[email protected]> wrote: > >> Does that mean that "go get" will fetch the default branch >> when provided with the github path? Until >> http://golang.org/s/go14customimport >> happens, I'm not entirely sure that's a good idea. That's the >> reason I didn't do it in github.com/juju/charm; I'm willing >> to be persuaded though :-) >> >> cheers, >> rog. >> >> On 11 August 2014 19:44, Nate Finch <[email protected]> wrote: >> > Some of our repos have multiple branches specifically for versioning via >> > gopkg.in... it would be nice if the "default" branch in github were the >> > "current" version, so when you go to look at the repo online, you're >> looking >> > at the version that should be currently used. That way the activity etc >> > will correctly reflect what's going on with the repo, and not some >> branch >> > that is effectively abandoned. >> > >> > To do this, just go to the settings for the repo and set the default >> branch >> > in the dropdown. >> > >> > >> > >> > -- >> > Juju-dev mailing list >> > [email protected] >> > Modify settings or unsubscribe at: >> > https://lists.ubuntu.com/mailman/listinfo/juju-dev >> > >> > > -- > Juju-dev mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev > >
-- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
