2010/3/29, Daniel Stenberg wrote: > 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.
Ok, I then understand that GitHub web interface does not provide that info, and that a local installation of git binaries is required to carry out 'git describe --tags [hash]' on a local or maybe repote repo. -- -=[Yang]=- ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
