aboutsummaryrefslogtreecommitdiff
path: root/t/t4211/expect.simple-f-to-main
Commit message (Collapse)AuthorAge
* log -L: :pattern:file syntax to find by funcnameThomas Rast2013-03-28
This new syntax finds a funcname matching /pattern/, and then takes from there up to (but not including) the next funcname. So you can say git log -L:main:main.c and it will dig up the main() function and show its line-log, provided there are no other funcnames matching 'main'. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>