author | Junio C Hamano <junkio@cox.net> | |
Wed, 8 Nov 2006 00:20:02 +0000 (16:20 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 8 Nov 2006 00:24:37 +0000 (16:24 -0800) | ||
commit | 7bd9641df5b7cca91b21bfdc587962c59700786c | |
tree | 9d42e451612128d106190453e1b8250a21b4100b | tree | snapshot |
parent | 931233bc666b40de039d50f82f12279c94e5e5f0 | commit | diff |
git-pickaxe: allow "-L <something>,+N"
With this,
git pickaxe -L '/--progress/,+20' v1.4.0 -- pack-objects.c
gives you 20 lines starting from the first occurrence of
'--progress' in pack-objects, digging from v1.4.0 version.
You can also say
git pickaxe -L '/--progress/,-5' v1.4.0 -- pack-objects.c
Signed-off-by: Junio C Hamano <junkio@cox.net>
With this,
git pickaxe -L '/--progress/,+20' v1.4.0 -- pack-objects.c
gives you 20 lines starting from the first occurrence of
'--progress' in pack-objects, digging from v1.4.0 version.
You can also say
git pickaxe -L '/--progress/,-5' v1.4.0 -- pack-objects.c
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pickaxe.c | diff | blob | history |