cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: relationship between LOC and libcurl version with git

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 29 Mar 2010 11:34:54 +0200 (CEST)

On Mon, 29 Mar 2010, Yang Tse wrote:

> Given a single line of code in current git master, how does one find out
> which libcurl versions are affected by the given LOC?
>
> For example, given configure.ac commit history
> http://github.com/bagder/curl/commits/master/configure.ac there is a
> change entry with date 2009-11-21
> http://github.com/bagder/curl/commit/f9e55c99087f879e2ad8113f8b26ebc2e24a0910

> How does one find out which is the first libcurl released version that
> includes that change?

I've used this method successfuly:

$ git describe --tags [hash]

... which then displays the most recent tag and the number of commits since
that tag:

         curl-7_19_7-79-gf9e55c9

So it was done _after_ the curl-7_19_7 tag but alas before the next tag
(curl-7_20_0) so it was thus included in the 7.20.0 release.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-29