Re: Why no git --depth=1 option for makepkg?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux