Tabrez Ali <[email protected]> writes: > Hello > > How can I quickly check when exactly a new function was added to a > release. The changes webpage doesnt seem to list new functions. > > E.g., in which release was "vecgetsubvector" added?
Look for the commit that introduced that string: $ git log -S VecGetSubVector -- include/petscvec.h commit 10a9aa378a782793fd9f203c1c09fe3cad29bf1c Author: Jed Brown <[email protected]> Date: Wed Nov 24 15:29:22 2010 +0100 Add VecGetSubVector and VecRestoreSubVector and test VecNest will implement this interface Hg-commit: eed11e97b1e3a27003b34b493491e2b849c3e0e4 Then describe it in terms of tags that contain it: $ git describe --contains 10a9aa378a782793fd9f203c1c09fe3cad29bf1c v3.2~1030^2~6
