cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: relationship between LOC and libcurl version with git

From: Tor Arntsen <tor_at_spacetec.no>
Date: Mon, 29 Mar 2010 11:40:26 +0200

On 29/03/2010, Yang Tse <yangsita_at_gmail.com> 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?

git tag --contains f9e55c
seems to do the right thing.
At least with a recent Git version.
>git --version
git version 1.7.0>git tag --contains f9e55c9908
cares-1_7_0
curl-7_20_0
But this seems to need a very recent version. It doesn't work with
1.6.0, for example.

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