>> This means that PKGBUILDs which checkout a specific revision are
>> actually worse than the rest, as you cannot even get the source without
>> knowing how many commits you need (rather than failing afterwards in
>> pkgver() or something).
>
> Right. I had assumed that git clone -b/--branch did also exist for
> tags.

https://www.kernel.org/pub/software/scm/git/docs/git-clone.html

--branch can also take tags and detaches the HEAD at that commit in
the resulting repository.

Reply via email to