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

2013-03-13 Thread Junio C Hamano
Thomas Rast 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 like line-ran

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

2013-03-13 Thread Thomas Rast
Junio C Hamano writes: > Junio C Hamano writes: > >> Thomas Rast 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 '-L,$'. >> >> Doesn't "-L " or "-L ," do that a

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

2013-03-12 Thread Junio C Hamano
Junio C Hamano writes: > Thomas Rast 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 '-L,$'. > > Doesn't "-L " or "-L ," do that already? If it were > to introduce

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

2013-02-28 Thread Junio C Hamano
Thomas Rast 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 '-L,$'. Doesn't "-L " or "-L ," do that already? If it were to introduce "-L $-4," or "-L$-4,+2", I would und

[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 '-L,$'. Signed-off-by: Thomas Rast --- Documentation/line-range-format.txt | 6 ++ line-log.c | 8