[arch-general] Why no git --depth=1 option for makepkg?

Damjan Georgievski gdamjan at gmail.com
Mon Mar 5 00:13:28 UTC 2018

>> 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.


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

More information about the arch-general mailing list