2013/5/28 Allan McRae <[email protected]>:
> On 28/05/13 14:29, 郑文辉(Techlive Zheng) wrote:
>> 2013/5/28 Allan McRae <[email protected]>:
>>> On 28/05/13 02:08, Techlive Zheng wrote:
>>>> ---
>>>>  A task has also been added:
>>>>
>>>>   https://bugs.archlinux.org/task/35499
>>>
>>>
>>> Am I missing something completely here?  Does not specifying "ref=" etc
>>> in the URL build from HEAD?
>> Noop, "branch=HEAD' won't work, git clone --mirror will set the 'HEAD'
>> ref correctly, but next time, 'git fetch' won't.
>
> Does just specifying the URL not do what you want?  e.g.
>
> source=('git://projects.archlinux.org/pacman.git')
>
Yes, you are right, there is no need to introduce a "HEAD"  fragment,
but the later hack for 'git fetch' is necessary, otherwise, the HEAD
won't get update in a 'git fetch'.
> Allan
>

Reply via email to