summaryrefslogtreecommitdiff
path: root/tree-diff.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-11-06 17:08:32 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-11-06 22:09:44 -0800
commit931233bc666b40de039d50f82f12279c94e5e5f0 (patch)
treea301916d37af2b306d2175428a069cf0237f0c6f /tree-diff.c
parentgit-pickaxe: optimize by avoiding repeated read_sha1_file(). (diff)
downloadtgif-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 'tree-diff.c')
0 files changed, 0 insertions, 0 deletions