[x264-devel] What can I do if I want to checkout a specified build version
Emily Bowman
silverbacknet at gmail.com
Mon Jan 25 08:56:26 UTC 2021
Build versions aren't tags, although I kind of wish they were. You can
search x264.h's history for the commits that change X264_BUILD, and use
anything in between the changes, but I'm sure what you really want is the
last good rev before a breaking change.
You can use the website's search, but are you wanting command line? You can
also use:
git log -S'X264_BUILD 160' -- x264.h
and then find the previous non-breaking commits with
git log <top returned hash>
And there are ways to restrict and prettify it if you're looking for a less
manual method.
If you're using gitlab's search, you search for essentially the same string
and again just look at what the parent revision was.
-Em
On Mon, Jan 25, 2021 at 12:17 AM Lingjiang Fang <vacingfang at foxmail.com>
wrote:
>
>
> What can I do if I want to checkout a specified build version, such as
> 160?
>
> I met some problems when I want to get a specified version of x264,
> thanks if any one can give me a hand.
>
> x264 gitlab repo has only two branches, and no tags. I tried to find
> some documentation to clarify the relationship between these two
> branches: master and stable, but got nothing.
>
>
>
>
>
>
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20210125/7ea2b23a/attachment.html>
More information about the x264-devel
mailing list