Revision 931233bc666b40de039d50f82f12279c94e5e5f0 authored by Junio C Hamano on 07 November 2006, 01:08:32 UTC, committed by Junio C Hamano on 07 November 2006, 06:09:44 UTC
With this change, you can specify the beginning and the ending
line of the range you wish to inspect with pattern matching.

For example, these are equivalent with the git.git sources:

    git pickaxe -L 7,21                       v1.4.0 -- commit.c
    git pickaxe -L '/^struct sort_node/,/^}/' v1.4.0 -- commit.c
    git pickaxe -L '7,/^}/'                   v1.4.0 -- commit.c
    git pickaxe -L '/^struct sort_node/,21'   v1.4.0 -- commit.c

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent c2e525d
History
File Mode Size
xdiff.h -rw-r--r-- 2.4 KB
xdiffi.c -rw-r--r-- 14.5 KB
xdiffi.h -rw-r--r-- 1.7 KB
xemit.c -rw-r--r-- 4.8 KB
xemit.h -rw-r--r-- 1.1 KB
xinclude.h -rw-r--r-- 1.2 KB
xmacros.h -rw-r--r-- 1.9 KB
xprepare.c -rw-r--r-- 10.7 KB
xprepare.h -rw-r--r-- 1.1 KB
xtypes.h -rw-r--r-- 1.6 KB
xutils.c -rw-r--r-- 6.6 KB
xutils.h -rw-r--r-- 1.7 KB

back to top