summaryrefslogtreecommitdiff
path: root/t/t4101/diff.2-0
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <trast@student.ethz.ch>2013-03-28 17:47:33 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-28 10:30:04 -0700
commit13b8f68c1f0b6d4ff5a7bed5a834e7e5e34a9fd0 (patch)
tree8e28bd102d82587678bb9ab32345f26039bf0ad4 /t/t4101/diff.2-0
parentImplement line-history search (git log -L) (diff)
downloadtgif-13b8f68c1f0b6d4ff5a7bed5a834e7e5e34a9fd0.tar.xz
log -L: :pattern:file syntax to find by funcname
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>
Diffstat (limited to 't/t4101/diff.2-0')
0 files changed, 0 insertions, 0 deletions