Okay, I think that sounds reasonable. I've amended the patch so that the line number is clipped to 1 when reading in a line range. And -L,-n is now treated the same as -L1,-n i.e. it will blame (or log) the first line of the file only.
- [PATCH v5 0/2] blame and log: prevent error if range end... istephens
- Re: [PATCH] blame: prevent error if range ends past... Eric Sunshine
- Re: [PATCH] blame: prevent error if range ends ... Isabella Stephens
- Re: [PATCH] log: prevent error if line range ends p... Eric Sunshine