git log -L:funcname:file
Get the entire history of a given function (as long as it was in <file>). Not a daily driver, but sometimes unimaginably valuable.
Session::set_state (XMLNode const & node)
git log -L:set_state:session_state.cc
void some_function_name (type1_t t1, type2_t t2)
git log -L:some_function_name:thefile.cc
I'll check it and I'll update my article with that!
Get the entire history of a given function (as long as it was in <file>). Not a daily driver, but sometimes unimaginably valuable.