[x265] [PATCH 3 of 3] Make git X265_VERSION output the same as mercurial

chen chenm003 at 163.com
Tue Jun 14 23:14:18 CEST 2016


At 2016-06-15 05:05:04,"Ricardo Constantino" <wiiaboo at gmail.com> wrote:
>On 14 June 2016 at 21:58, chen <chenm003 at 163.com> wrote:
>>
>> At 2016-06-15 04:49:32,"Ricardo Constantino" <wiiaboo at gmail.com> wrote:
>>>On 14 June 2016 at 17:47, chen <chenm003 at 163.com> wrote:
>>>>
>>>> My Git 1.7.9 can't support "--first-parent", so the X265_LATEST_TAG will
>>>> be
>>>> empty, it made the cmake build failed.
>>>
>>>That's already 4 years old.
>>>The lack of --first-parent regarding LATEST_TAG can be fixed, but the
>>>TAG_DISTANCE without it becomes too different from mercurial's. Dunno
>>>what the devs prefer, empty tag distance or different from
>>>mercurial's?
>>
>> without "--first-parent", the version will be big different, so we have to
>> keep it (the mercurial work fine and no empty tag in there)
>>
>>  1.7+1094-g9eca097
>>
>> 1.9+211-99ce159380c7
>
>I've sent a patch to avoid --first-parent with git describe. If it
>works with git rev-list, then that should be it.


your new patch work fine in here, thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160615/9c110883/attachment.html>


More information about the x265-devel mailing list