Date: Tue, 10 Jul 2018 10:15:05 +0000 From: Brooks Davis <brooks@freebsd.org> To: Michael Gmelin <freebsd@grem.de> Cc: blubee blubeeme <gurenchan@gmail.com>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: git checkout branch in makefile Message-ID: <20180710101505.GF85898@spindle.one-eyed-alien.net> In-Reply-To: <C1ECC73F-6B19-4349-905A-3D0472DFF40A@grem.de> References: <CALM2mE=WNRM=2P4k=xZgpE5GXutW8OTo61kAaFRViuLcx0S%2BnA@mail.gmail.com> <C1ECC73F-6B19-4349-905A-3D0472DFF40A@grem.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--ABTtc+pdwF7KHXCz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 09, 2018 at 08:19:13PM +0200, Michael Gmelin wrote: >=20 >=20 > > On 9. Jul 2018, at 19:34, blubee blubeeme <gurenchan@gmail.com> wrote: > >=20 > > Is it possible to do a git checkout of a specific branch in a ports > > makefile? > >=20 > > How would I go about checking out a particular branch from a github pro= ject. >=20 > As branches aren???t stable this won???t buy you anything, that???s why y= ou should always go for a tag or commit (which is branch agnostic). If you want to make it easy to update to the latest commit on a branch, take a look at devel/llvm-devel/files/gen-Makefile.snapshot.sh for an example of automatically extracting that information from the github API. -- Brooks --ABTtc+pdwF7KHXCz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJbRIcpAAoJEKzQXbSebgfA6N4H/3TK5DtjL3IA0xbsPa2DdF4B 3k8XqqZW4wtHVzpThIz+tgbZvXMPwfJwFDwQ7T7oAjp993CzNC6vOeVnsAO5i/lz B7g4bv54qfsOq8R12GcTC7zoHR6D8U7jRtigZGEe1i5RTqSoRwx0zdo1w4Fau7Up VE/ZlypSG46rLeecZHpsGfiAuDnTMetLpJ7K1TJ0O8XjnrxUjEzci2ANI74YfEFP 579uxw6xcwEnuP6UUdepPxn2qYt1eQuMxz9H22ypKnCx/DuyDUz3Q6NPhV5R96br Iuqh4aa/dMYV0dNE41RK3kJtVmair6qKYsZsdPaobaI+a4cP2QrEkUKrj6jAxW4= =fkyf -----END PGP SIGNATURE----- --ABTtc+pdwF7KHXCz--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180710101505.GF85898>