<div dir="ltr"><div>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.<br></div><div><br></div><div>You can use the website's search, but are you wanting command line? You can also use:</div><div>git log -S'X264_BUILD 160' -- x264.h</div><div></div><div>and then find the previous non-breaking commits with</div><div>git log <top returned hash></div><div>And there are ways to restrict and prettify it if you're looking for a less manual method.<br></div><div><br></div><div>If you're using gitlab's search, you search for essentially the same string and again just look at what the parent revision was.</div><div><br></div><div>-Em<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 25, 2021 at 12:17 AM Lingjiang Fang <<a href="mailto:vacingfang@foxmail.com">vacingfang@foxmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
What can I do if I want to checkout a specified build version, such as<br>
160? <br>
<br>
I met some problems when I want to get a specified version of x264,<br>
thanks if any one can give me a hand.<br>
<br>
x264 gitlab repo has only two branches, and no tags. I tried to find<br>
some documentation to clarify the relationship between these two<br>
branches: master and stable, but got nothing.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org" target="_blank">x264-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x264-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x264-devel</a><br>
</blockquote></div>