diff options
author | Junio C Hamano <junkio@cox.net> | 2006-11-06 17:08:32 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-11-06 22:09:44 -0800 |
commit | 931233bc666b40de039d50f82f12279c94e5e5f0 (patch) | |
tree | a301916d37af2b306d2175428a069cf0237f0c6f /builtin.h | |
parent | c2e525d97f81bc178567cdf4dd7056ce6224eb58 (diff) | |
download | git-931233bc666b40de039d50f82f12279c94e5e5f0.tar.gz git-931233bc666b40de039d50f82f12279c94e5e5f0.tar.xz |
git-pickaxe: -L /regexp/,/regexp/
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>
Diffstat (limited to 'builtin.h')
0 files changed, 0 insertions, 0 deletions