Re: [PATCH v8 2/5] blame: introduce $ as end of file in -L syntax

2013-03-13 Thread Thomas Rast
Junio C Hamano gits...@pobox.com writes: Junio C Hamano gits...@pobox.com writes: Thomas Rast tr...@student.ethz.ch writes: To save the user a lookup of the last line number, introduce $ as a shorthand for the last line. This is mostly useful to spell until the end of the file as

Re: [PATCH v8 2/5] blame: introduce $ as end of file in -L syntax

2013-03-13 Thread Junio C Hamano
Thomas Rast tr...@inf.ethz.ch writes: Even though I am moving from builtin/blame.c to line-log.c? I would otherwise have to call from a rather lib-ish file into a front You haven't sent any reply to this. Does that mean you agree? Would you prefer the shared file to be named something

Re: [PATCH v8 2/5] blame: introduce $ as end of file in -L syntax

2013-03-12 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: Thomas Rast tr...@student.ethz.ch writes: To save the user a lookup of the last line number, introduce $ as a shorthand for the last line. This is mostly useful to spell until the end of the file as '-Lbegin,$'. Doesn't -L begin or -L begin, do

[PATCH v8 2/5] blame: introduce $ as end of file in -L syntax

2013-02-28 Thread Thomas Rast
To save the user a lookup of the last line number, introduce $ as a shorthand for the last line. This is mostly useful to spell until the end of the file as '-Lbegin,$'. Signed-off-by: Thomas Rast tr...@student.ethz.ch --- Documentation/line-range-format.txt | 6 ++ line-log.c

Re: [PATCH v8 2/5] blame: introduce $ as end of file in -L syntax

2013-02-28 Thread Junio C Hamano
Thomas Rast tr...@student.ethz.ch writes: To save the user a lookup of the last line number, introduce $ as a shorthand for the last line. This is mostly useful to spell until the end of the file as '-Lbegin,$'. Doesn't -L begin or -L begin, do that already? If it were to introduce -L $-4,