summaryrefslogtreecommitdiff
path: root/t/t4211/expect.simple-main-to-end
AgeCommit message (Collapse)AuthorFilesLines
2013-03-28log -L: :pattern:file syntax to find by funcnameLibravatar Thomas Rast1-0/+70
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>