Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2013 11:30:43 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Micheas Herman <m@micheas.net>
Cc:        Paul Schmehl <pschmehl_lists@tx.rr.com>, FreeBSD Ports List <freebsd-ports@freebsd.org>
Subject:   Re: I need help with git
Message-ID:  <511059BB.5000203@ShaneWare.Biz>
In-Reply-To: <CAJw6ijnmkjiRb=BkbH0k-zDmPoxhUVVTiCsqVf_ZNgQQGnOUVg@mail.gmail.com>
References:  <39A84EC03A29CF90A1609C44@utd71538.campus.ad.utdallas.edu> <CAJw6ijnmkjiRb=BkbH0k-zDmPoxhUVVTiCsqVf_ZNgQQGnOUVg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>
>> GH_COMMIT=      4dfdc80
>
> Probably not needed if you specify a tag other than master.

>> If I pull master, I get commit f57e464.  That's not what I want.
>> Why doesn't this thing pull the commit I'm telling it to pull?

I think the thing most people miss here is that GH_COMMIT doesn't
effect what gets downloaded, it's not used like an svn rev number
- it is only used to define WRKSRC

When a github tarball gets extracted GH_COMMIT is part of the dir name.

Which is why it is mandatory and needs to match the tag. It is just
needed to work with the way github creates tarballs. It is inconvenient
but github is only setup to let you download tarballs of specific tags
not specific commits. If the main devs don't tag the specific points you
want the only option is to fork and create your own tags.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511059BB.5000203>